<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Ceki.<div><br></div><div>I've seen that you are working on the FileAppenders again. Have you seen this mail I wrote? What do you think about it?</div><div><br></div><div>Joern.<br><div><br><div>Begin forwarded message:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>From: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Joern Huxhorn &lt;<a href="mailto:jhuxhorn@googlemail.com">jhuxhorn@googlemail.com</a>&gt;</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>Date: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">23. April 2009 18:38:38 MESZ</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>To: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">logback developers list &lt;<a href="mailto:logback-dev@qos.ch">logback-dev@qos.ch</a>&gt;</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>Subject: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><b>Question about a custom binary file appender.</b></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div> </div><div>Hi Ceki.<br><br>I'd like to implement a file appender that writes the binary Lilith<br>format, i.e. gzipped protobuf-serialized events, instead of Strings.<br>I'd also like to have the same functionality that's supported by<br>RollingFileAppender right now.<br><br>Unfortunately, there seems to be no way to simply write bytes instead of<br>a String. How would you go from here?<br>Reimplementing everything from the start seems to be a pretty bad idea.<br><br>What do you think about enhancing the RFA so it's using byte[] instead<br>of Strings? The current behavior could be implemented using those<br>methods + string.getBytes("UTF-8") or CharsetEncoder...<br><br>Any idea, suggestions?<br><br>Regards,<br>Joern.<br><br></div></blockquote></div><br></div></body></html>