There is a layer of kludgery to enable/disable various logging messages.

This idea is that code like this:
                LOGIF(CLOCKINFO, (LOG_INFO,
                                  "%s Changed GPS epoch warp to %d weeks",
                                  clockname, weeks));
will only do the logging if the NLOG_CLOCKINFO bit is on is a global.

The parser/config stuff has ways to turn those bits on/off.

Anybody object if I rip that stuff out?

There are a handful of cases in the refclock drivers.

There are another handful for maybe logging bad packets and/or security 
probes.  They would need some sort of rate limiting.


-- 
These are my opinions.  I hate spam.



_______________________________________________
devel mailing list
devel@ntpsec.org
https://lists.ntpsec.org/mailman/listinfo/devel

Reply via email to