Excessive logging of inflate/deflate messages

Michal Hlavinka mhlavink at redhat.com
Thu Nov 5 05:34:00 EST 2009


ping, any response?

On Thursday 15 October 2009 16:40:17 Michal Hlavinka wrote:
> 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
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
> 


More information about the Info-cyrus mailing list