logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From teknokrat <teknok...@yahoo.com>
Subject How to log binary data
Date Mon, 17 Mar 2008 13:05:48 GMT
I have a requirement to log raw binary data. This will be mostly ASCII 
characters but will contain non-displayable control characters such as 
\0, etc. My first thought was to write an appender by extending the 
FileAppender class but I cannot see how to do this as I need access to 
an OutputStream and not a Writer. Does anyone have any good ideas of how 
this can be done witht he minimum of fuss in log4j?

cheers


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message