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. -Dave -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, February 22, 2008 10:52 AM To: pdns-users@mailman.powerdns.com Subject: Re: [Pdns-users] PDNS log file configuration Ooops, that should read /usr/local/etc/pdns.conf for the location of the pdns.conf file. [EMAIL PROTECTED] wrote .. > I have tried to divert the pdns log file using the configuration file which is > currently loading from /usr/local/pdns.conf but it is ignoring my preference. Is > this the correct format for it? > > logfile=/var/log/pdns.log > > I am using pdns 2.9.21 compiled from source. All of the log messages from the program > are dumping into /var/log/messages _______________________________________________ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users