Browse Source

Always log warnings and error messages.

Con Kolivas 14 years ago
parent
commit
0f351d8466
1 changed files with 1 additions and 1 deletions
  1. 1 1
      util.c

+ 1 - 1
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 = { };