1. Log4j encoding problem stackoverflow.comI configured log4j SMTPAppender to send emails to me on errors. It works, but I have problem with non ASCII data. Configuration uses HTMLLayout and their documentation states: Appenders using ... |
2. log4j encoding with utf-8 does not work but gbk work stackoverflow.comwhen i've log4j.properties with below line, log4j.appender.myappender.Encoding=UTF-8 it is still printing invalid characters; but when change to log4j.appender.myappender.Encoding=GBK it work correctly when printing chinese, can any one help? thx. btw, i'm using log4j.rootLogger=DEBUG,myappender log4j.appender.myappender=org.apache.log4j.RollingFileAppender |
3. Log4J - Encoding forums.oracle.com |