In non-debug mode, set default logging to syslog only, not stderr.
This commit is contained in:
parent
4524331a3d
commit
5ff0a270cb
1 changed files with 1 additions and 0 deletions
|
@ -157,6 +157,7 @@ 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