On Dec 19, 2006, at 09:07, Oliver Fromme wrote:

Roland Smith wrote:
[...]
The following patch to ntp_loopfilter.c should quell the message:
-------------------- STFU patch --------------------
--- ntp_loopfilter.c.orig       Tue Dec 19 14:13:25 2006
+++ ntp_loopfilter.c    Tue Dec 19 14:14:02 2006
@@ -593,12 +593,6 @@
                                    "kernel time sync disabled %04x",
                                    ntv.status);
                        ntv.status &= ~(STA_PPSFREQ | STA_PPSTIME);
-               } else {
-                       if (ntv.status != pll_status)
-                               NLOG(NLOG_SYNCEVENT | NLOG_SYSEVENT)
-                                   msyslog(LOG_NOTICE,
-                                   "kernel time sync enabled %04x",
-                                   ntv.status);
                }
                pll_status = ntv.status;
                if (pll_nano)
-------------------- STFU patch --------------------

I think it makes sense to replace LOG_NOTICE with LOG_DEBUG,
so you can still get at the messages if you really want to.
It's not necessary to remove the logging code alltogether.

This bug has been reported to the NTP maintainers:

        https://ntp.isc.org/bugs/show_bug.cgi?id=452

It's been assigned to Harlan Stenn (stenn<at>ntp.org). There have been no notes added to the bug report after the initial report on 2005-06-15.

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to