[Pdns-users] PDNS log file configuration

Hugo van der Kooij hvdkooij at vanderkooij.org
Sat Feb 23 07:35:09 UTC 2008

Hash: SHA1

David Apgar wrote:
| Hey,
| PDNS uses the syslog facility to do all of it's logging.  To get it to
| redirect to a different file, you need to tell it to log to one of the
| syslogs 'local' facilities.
| To set up pdns to log to (for instance) LOCAL0:
| add to your pdns.conf
| logging-facility=0
| And modify your syslog.conf to have:
| local0	/var/log/pdns.log
| That will output all of the pdns messages (info, warning, error, etc.)
| to /var/log/pdns.log.
| Check out: http://downloads.powerdns.com/documentation/html/syslog.html
| for a better explanation of how logging is done in pdns.  Also note that
| you'll ideally want to choose one of the 'local' facilities that isn't
| being used by any other processes.

Yeah. I have stumbled over the same feature. Even after reading the
manual from cover to cover. So I would suggest to add a comment to the
default sample config file that this particular option is for windows only.

I think it should save people some valueable time.


- --
hvdkooij at vanderkooij.org               http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

	A: Yes.
	>Q: Are you sure?
	>>A: Because it reverses the logical flow of conversation.
	>>>Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

Version: GnuPG v1.4.7 (GNU/Linux)


More information about the Pdns-users mailing list