[Pdns-dev] statistics logging by pdns-recursor

bert hubert bert.hubert at netherlabs.nl
Tue Jan 23 22:34:51 CET 2007

On Tue, Jan 23, 2007 at 02:20:44PM +0100, Arjo Hooimeijer wrote:
> I log all LOG_ERR prio messages to /dev/console which now fills up with
> interesting but definitely non-crucial :-) information..
> Is there any specific reason why pdns-recursor logs its statistics with
> priority LOG_ERR?

Well, not really. Some time ago we shifted some of the logging priorities so
they made more sense, this wasn't noticed. LOG_WARNING is quite often not
logged at all, that might've been the reason.

The whole syslog severity levels thing is a tad odd, 'LOG_ERROR' is in fact
in the middle of all severities, with LOG_WARNING often turning out not to
be logged at all.

If we look at the scope of things, a running powerdns recursor will log
quite some information at LOG_ERROR already.

So I'm not inclined to really change this, as it won't change the amount of
data logged for most people in a real sense, unless your PowerDNS is very

But I've been known to change my mind :-)

http://www.PowerDNS.com      Open source, database driven DNS Software 
http://netherlabs.nl              Open and Closed source services

More information about the Pdns-dev mailing list