[Pdns-dev] [patch] expected behaviour of loglevel

Norbert Sendetzky norbert at linuxnetworks.de
Sun Oct 26 18:24:33 CET 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Bert

I've attached a patch, which changes the behaviour of the argument 
"loglevel" to the behaviour everybody is expecting after reading the 
description in pdns.conf.

The previous behaviour was to log messages to the console if the 
urgency of the message was higher than the loglevel. This might be 
slightly useful for developers testing modifications on the local 
machine, but neither help users nor developers to find errors in a 
productive environment.

Now only messages with an urgency higher than "loglevel" are written 
to the syslog. Thus the user can decide how much messages should be 
logged and the amount can be increased dynamically for debugging 
purpose.


Norbert

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAj+cA1YACgkQxMLs5v5/7eBDygCbB9jtqOcNfPD0mwj01X7qfv+t
JksAoLiCjqLI7KanCRteokaIGhcSyEhs
=fvDi
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: loglevel.diff
Type: text/x-diff
Size: 3440 bytes
Desc: not available
Url : http://mailman.powerdns.com/pipermail/pdns-dev/attachments/20031026/571b2007/loglevel.bin


More information about the Pdns-dev mailing list