mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 17:51:53 +00:00
Before configuration file is read, log to _both_ syslog and stderr.
This commit is contained in:
parent
c184d9d0bd
commit
2f5e5ff9d6
@ -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 New Issue
Block a user