Commit 5ff0a270 authored by Martin Mareš's avatar Martin Mareš
Browse files

In non-debug mode, set default logging to syslog only, not stderr.

parent 4524331a
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment