From 156bbd7b66cf29220c2ff6a86217c4dec5e33765 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Wed, 14 Apr 2010 01:55:30 +0200 Subject: Log to stderr+syslog until daemonized. Current behaviour is too confusing and annoying. --- log.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'log.c') diff --git a/log.c b/log.c index 4606fb88..d7d971bd 100644 --- a/log.c +++ b/log.c @@ -171,5 +171,7 @@ static void log_console(int level, char *message) { if(level == LOGLVL_DEBUG) fprintf(stdout, "Debug: %s\n", message); #endif + /* Always log stuff in syslogs too. */ + log_syslog(level, message); return; } -- cgit v1.2.3