From 5ddf4a58f9c4173acefa1df92ccd3da90230a863 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 9 Jun 2000 07:32:57 +0000 Subject: 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). --- sysdep/unix/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdep/unix/main.c') 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(); -- cgit v1.2.3