Before configuration file is read, log to _both_ syslog and stderr.
This commit is contained in:
parent
c184d9d0bd
commit
2f5e5ff9d6
1 changed files with 0 additions and 1 deletions
|
@ -157,7 +157,6 @@ log_init(int debug)
|
||||||
static struct log_config lc_syslog = { mask: ~0 };
|
static struct log_config lc_syslog = { mask: ~0 };
|
||||||
openlog("bird", LOG_CONS | LOG_NDELAY, LOG_DAEMON);
|
openlog("bird", LOG_CONS | LOG_NDELAY, LOG_DAEMON);
|
||||||
add_tail(current_log_list, &lc_syslog.n);
|
add_tail(current_log_list, &lc_syslog.n);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue