Commit Graph

4 Commits

Author SHA1 Message Date
Khanh Ngo
e6f82160c1
Fix python code as suggestion from LGTM 2018-08-31 18:00:41 +07:00
Peter Schiffer
558279e009 Log file doesn't need to exist before logger can log to it 2016-09-01 09:07:33 +02:00
Peter Schiffer
444be2c060 Log to file only if the file exists
If LOG_FILE config option contained invalid file, pdns admin wouldn't start.
Also, it wasn't possible to log only to stdout/stderr correctly, because
setting the log file to /dev/stdout would double the logs messages as the pdns
admin is already logging to the stderr.
2016-08-31 23:11:04 +02:00
Khanh Ngo
2dac8205f6 Initial commit 2015-12-13 16:34:12 +07:00