Excessive logging of inflate/deflate messages
Michal Hlavinka
mhlavink at redhat.com
Thu Oct 15 10:40:17 EDT 2009
Hi,
one Fedora user has reported their imap server has logged 3GB of messages
like:
Oct 8 19:43:01 mail imaps[6149]: deflate(4096 bytes, level=-1, flush=SYNC)
Oct 8 19:43:01 mail imaps[6149]: => compressed to 325 bytes
Oct 8 19:43:01 mail imaps[6149]: deflate(4096 bytes, level=-1, flush=SYNC)
Oct 8 19:43:01 mail imaps[6149]: => compressed to 320 bytes
Oct 8 19:43:01 mail imaps[6149]: deflate(4096 bytes, level=-1, flush=SYNC)
Oct 8 19:43:01 mail imaps[6149]: => compressed to 231 bytes
Oct 8 19:43:01 mail imaps[6149]: deflate(4096 bytes, level=-1, flush=SYNC)
Oct 8 19:43:01 mail imaps[6149]: => compressed to 451 bytes
Oct 8 19:43:01 mail imaps[5932]: inflate(14 bytes)
Oct 8 19:43:01 mail imaps[5932]: => decompressed to 32 bytes
Oct 8 19:43:02 mail imaps[6202]: deflate(4096 bytes, level=-1, flush=SYNC)
Oct 8 19:43:02 mail imaps[6202]: => compressed to 783 bytes
Would it be possible to lower number of these messages (they are new in
2.3.15) or (preferably) add new option for enabling/disabling LOG_DEBUG
messages? It should be quite easy, just call setlogmask(x) with appropriate
argument depending on config option. I can write patch if required.
Regards,
Michal Hlavinka
More information about the Info-cyrus
mailing list