[pkg-ntp-maintainers] Bug#498992: kernel time sync status change and log levels
Tim Small
tim at buttersideup.com
Thu Sep 17 12:48:15 UTC 2009
Hi,
The "time sync status change" messages are currently logged with level
"LOG_NOTICE", which denotes a "normal, but significant, condition".
Which out of LOG_NOTICE/LOG_INFO/LOG_DEBUG is correct for these messages
is probably a matter of opinion, but....
. Even messages with log level "LOG_DEBUG" end up in /var/log/syslog in
the default rsyslog configuration.
. Logcheck checks only "/var/log/auth.log" and "/var/log/syslog" in the
default configuration.
... so on that basis can I suggest that the previous patch is applied?
Having reviewed ntpd/ntp_loopfilter.c there do seem to be some odd log
level choices e.g. "kernel time sync error" is logged at LOG_NOTICE,
rather than LOG_WARNING, or LOG_ERROR, but that would appear to be a
matter for a different bug!
Cheers,
Tim.
More information about the pkg-ntp-maintainers
mailing list