summaryrefslogtreecommitdiff
path: root/gpsmon.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-11-12 17:52:41 -0500
committerEric S. Raymond <esr@thyrsus.com>2013-11-12 17:52:41 -0500
commit4b1c6ecccb0a1dc155f6fe8c40d3c353b79c09a4 (patch)
treefb2f432b1892ef40c14b562708982e57ab937ffe /gpsmon.c
parent25c55a4c7a4ed769ac10073fb65466f31305d305 (diff)
downloadgpsd-4b1c6ecccb0a1dc155f6fe8c40d3c353b79c09a4.tar.gz
Reduce gpsd log verbosity a lot.
Way too much logging was happening at LOG_IO level, which is intended for watching data traffic in and out of the daemon rather than all the minutiae of data analysis - that's LOG_DATA. Also, LOG_DATA gets pushed down two levels. The effect is that -D 5 means exactly what it did, but for purposes other than driver debugging -D 4 now suffices.
Diffstat (limited to 'gpsmon.c')
-rw-r--r--gpsmon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gpsmon.c b/gpsmon.c
index ea9eecf6..f795bb9d 100644
--- a/gpsmon.c
+++ b/gpsmon.c
@@ -263,15 +263,15 @@ void gpsd_report(const int debuglevel, const int errlevel, const char *fmt, ...)
case LOG_INF:
err_str = "INFO: ";
break;
- case LOG_DATA:
- err_str = "DATA: ";
- break;
case LOG_PROG:
err_str = "PROG: ";
break;
case LOG_IO:
err_str = "IO: ";
break;
+ case LOG_DATA:
+ err_str = "DATA: ";
+ break;
case LOG_SPIN:
err_str = "SPIN: ";
break;