If you do go the gzip on output route then watch out for <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4691425">http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4691425</a> .  It basically means that Java can&#39;t read gzip files that it built in an append style or that someone built like this:<br>

gzip * &gt; ~/dir_dump.gz<br><br>--Nik<br><br><div class="gmail_quote">On Wed, Jul 22, 2009 at 8:56 AM, Franck Routier <span dir="ltr">&lt;<a href="mailto:franck.routier@axege.com">franck.routier@axege.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Thanks for your quick answer.<br>
<br>
Maybe I&#39;ll rather gzip my file once the appender is closed then...<br>
<br>
Franck<br>
<br>
<br>
Le mercredi 22 juillet 2009 à 13:19 +0200, Chad La Joie a écrit :<br>
<div><div></div><div class="h5">&gt; The file appender only offers compression support when the log files are<br>
&gt; rotated.  I think you&#39;ll have to extend the appender if you want to<br>
&gt; compress while you write.  However, this could be dangerous as the<br>
&gt; appender may be closed out unexpectedly (e.g. if the VM is killed or<br>
&gt; stopped) which would could leave you with a corrupted archive.<br>
&gt;<br>
&gt; Franck Routier wrote:<br>
&gt; &gt; Hi all,<br>
&gt; &gt;<br>
&gt; &gt; I am programatically creating and using a FileAppender.<br>
&gt; &gt; I would like it to gzip on the fly the resulting File. Is there a way to<br>
&gt; &gt; do this, or do I have to extend and implement it by myself ?<br>
&gt; &gt;<br>
&gt; &gt; Franck<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Logback-user mailing list<br>
&gt; &gt; <a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a><br>
&gt; &gt; <a href="http://qos.ch/mailman/listinfo/logback-user" target="_blank">http://qos.ch/mailman/listinfo/logback-user</a><br>
&gt;<br>
<br>
<br>
<br>
_______________________________________________<br>
Logback-user mailing list<br>
<a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a><br>
<a href="http://qos.ch/mailman/listinfo/logback-user" target="_blank">http://qos.ch/mailman/listinfo/logback-user</a><br>
</div></div></blockquote></div><br>