diff options
author | Martin Mares <mj@ucw.cz> | 2000-06-09 07:32:57 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-06-09 07:32:57 +0000 |
commit | 5ddf4a58f9c4173acefa1df92ccd3da90230a863 (patch) | |
tree | 43cb4a1b565c3d5edc9727f0e49bf5a24541fa5b /sysdep/unix/main.c | |
parent | 0b3bf4b1d898b4e438fe4959a63fc16211baff12 (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/unix/main.c b/sysdep/unix/main.c index fed833bb..e0e3ca98 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(); |