<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Feroz,</div><div><br></div><div>Have a look at changing ch.qos.logback.core.rolling.helper.Compressor::compress() to support your additional codecs.</div><div><br></div><div>Why are you looking to use lz4? Because of less CPU overhead than gzip? Which library are you going to use?</div><div><br></div><div>I guess the library could be an optional dependency, and people have to include it if they want to use lz4? Or perhaps the API needs to be more open to extension of arbitrary compression strategies?</div><div><br></div><div>Thanks</div><div><br></div><div>David</div><div><br></div><br><div><div>On 15 Jul 2014, at 03:22, Feroz Raihan <<a href="mailto:fraihan2002@yahoo.com">fraihan2002@yahoo.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"><div style="" class="">Hi All,</div><div style="" class="">I know that logback can be used in java application and can support
rotating log files with gzip compression. How about i want to compress
the files with other compression algorithm say lz4. Is there any way I
can achieve this?</div><div style="" class=""><br></div><div style="font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;" class="">Thanks.<br></div><div style="" class=""><br style="" class=""></div></div></div>_______________________________________________<br>Logback-user mailing list<br><a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a><br>http://mailman.qos.ch/mailman/listinfo/logback-user</blockquote></div><br></body></html>