dovecot-2.0: Syslog messages now contain Warning:, Error: and De...

dovecot at dovecot.org dovecot at dovecot.org
Thu Apr 29 17:33:08 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/7493f94d544c
changeset: 11213:7493f94d544c
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Apr 29 17:33:05 2010 +0300
description:
Syslog messages now contain Warning:, Error: and Debug: prefixes also.
So everything except Info: now has a prefix.

diffstat:

 src/lib/failures.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 6d9265a3a620 -r 7493f94d544c src/lib/failures.c
--- a/src/lib/failures.c	Thu Apr 29 01:30:08 2010 +0300
+++ b/src/lib/failures.c	Thu Apr 29 17:33:05 2010 +0300
@@ -346,11 +346,11 @@
 	recursed++;
 
 	/* syslogs don't generatelly bother to log the level in any way,
-	   so make sure fatals and panics are shown clearly */
+	   so make sure errors are shown clearly */
 	T_BEGIN {
 		syslog(level, "%s%s%s",
 		       log_prefix == NULL ? "" : log_prefix,
-		       type == LOG_TYPE_FATAL || type == LOG_TYPE_PANIC ?
+		       type != LOG_TYPE_INFO ?
 		       failure_log_type_prefixes[type] : "",
 		       t_strdup_vprintf(format, args));
 	} T_END;


More information about the dovecot-cvs mailing list