diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-11-12 17:52:41 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-11-12 17:52:41 -0500 |
commit | 4b1c6ecccb0a1dc155f6fe8c40d3c353b79c09a4 (patch) | |
tree | fb2f432b1892ef40c14b562708982e57ab937ffe /gpsmon.c | |
parent | 25c55a4c7a4ed769ac10073fb65466f31305d305 (diff) | |
download | gpsd-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |