Always log to syslog, regardless of mode
This commit is contained in:
parent
d0ec200a27
commit
2b14f82040
|
@ -29,9 +29,8 @@ void do_log(int level, const char* fmt, ...)
|
|||
|
||||
va_start(va, fmt);
|
||||
|
||||
if(Daemon) {
|
||||
vsyslog(level, fmt, va);
|
||||
} else {
|
||||
vsyslog(level, fmt, va);
|
||||
if(!Daemon) {
|
||||
FILE* out = stdout;
|
||||
|
||||
switch(level) {
|
||||
|
|
Loading…
Reference in New Issue