Add support for logfile in pdns