NLOG_xxx, LOGIF
Hal Murray
halmurray at sonic.net
Tue Dec 21 02:44:32 UTC 2021
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.
More information about the devel
mailing list