From 0f351d84665873704d7f85a87e84b24e1c6ae8f3 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Wed, 6 Jul 2011 12:57:38 +1000 Subject: [PATCH] Always log warnings and error messages. --- util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.c b/util.c index f48dbbff..ca0ca79b 100644 --- a/util.c +++ b/util.c @@ -70,7 +70,7 @@ void applog(int prio, const char *fmt, ...) #else if (0) {} #endif - else if (opt_log_output) { + else if (opt_log_output || prio == LOG_WARNING || prio == LOG_ERR) { char *f; int len; struct timeval tv = { };