0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 01:31:55 +00:00

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

This commit is contained in:
Martin Mares 2000-05-08 22:31:58 +00:00
parent 4524331a3d
commit 5ff0a270cb

View File

@ -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