mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
In non-debug mode, set default logging to syslog only, not stderr.
This commit is contained in:
parent
4524331a3d
commit
5ff0a270cb
@ -157,6 +157,7 @@ log_init(int debug)
|
||||
static struct log_config lc_syslog = { mask: ~0 };
|
||||
openlog("bird", LOG_CONS | LOG_NDELAY, LOG_DAEMON);
|
||||
add_tail(current_log_list, &lc_syslog.n);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user