Patch for 3337: "Deflate messages filling logs"

Philip Prindeville philipp_subx at redfish-solutions.com
Fri Jan 28 14:02:38 EST 2011


I've posted a patch for this issue... it involves excessive logging of mostly mundane messages:

http://bugzilla.cyrusimap.org/show_bug.cgi?id=3337

The problem being that there's a mix of messages being logged at DEBUG level that are entirely benign, and others also logged at DEBUG that are fairly notable.

There are two potential fixes:

(1) bracket the 5 or so mundane messages with a gating variable... quick and easy;

(2) scrub through the DEBUG messages for those that are likely candidates for being logged at INFO or even NOTICE level instead and promote them;

the problem with the second fix is that you might want to run mail.debug for other services (mimedefang, spamassassin, sendmail, postix, sieve, etc)... but it unfortunately doesn't offer fine grained control per service.

Can I get a code review and comments please?  It's a fairly trivial fix.

Thanks,

-Philip



More information about the Cyrus-devel mailing list