summaryrefslogtreecommitdiffstats
path: root/sysdep/unix/main.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-06-09 09:32:57 +0200
committerMartin Mares <mj@ucw.cz>2000-06-09 09:32:57 +0200
commit5ddf4a58f9c4173acefa1df92ccd3da90230a863 (patch)
tree43cb4a1b565c3d5edc9727f0e49bf5a24541fa5b /sysdep/unix/main.c
parent0b3bf4b1d898b4e438fe4959a63fc16211baff12 (diff)
downloadbird-5ddf4a58f9c4173acefa1df92ccd3da90230a863.tar
bird-5ddf4a58f9c4173acefa1df92ccd3da90230a863.zip
During initialization, log to both syslog and stderr. When a configuration
file has been read and it doesn't specify any logging, log to syslog only (if syslog is not available, then stderr).
Diffstat (limited to 'sysdep/unix/main.c')
-rw-r--r--sysdep/unix/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/unix/main.c b/sysdep/unix/main.c
index fed833b..e0e3ca9 100644
--- a/sysdep/unix/main.c
+++ b/sysdep/unix/main.c
@@ -408,7 +408,7 @@ main(int argc, char **argv)
parse_args(argc, argv);
if (debug_flag == 1)
log_init_debug("");
- log_init(debug_flag);
+ log_init(debug_flag, 1);
DBG("Initializing.\n");
resource_init();