Excessive logging of inflate/deflate messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux