logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paul womack <pwom...@papermule.co.uk>
Subject Re: UTF-8 Logging
Date Thu, 11 May 2006 09:51:27 GMT
Sam wrote:
> Thanks for the follow up. I did some more testing and using the property '
> log4j.appender.ErrorMonitor.Encoding=UTF-8' did work correctly. I was able
> to see UTF-8 chars in my logs.  The confusing bit is that the rolling file
> appender is outputting a file that does not have any bits specifying the
> character set.

Many encodings do not allow or specify "marker bits".
It is common for the encoding to be specified
via some other channel, including the ever
popular "you just have to know".

    BugBear

---------------------------------------------------------------------
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