Re: each log message output twice

2012-11-08 Thread Jacob Kjome
The "x" logger inherits the root appender instances (unless you set "additivity" for "x" to "false").  But then you are adding new appender instances to the "x" logger, so you have 4 instances; 2 per/appender.  Therefore, you should expect each message to be written twice to each appender.

回覆︰ all log4j level in jar application is treated as debug level

2012-11-08 Thread tong123123
I know the reason now, my core module .class file is not updated in the war and so it still has the value logger.debug() although I change the code to logger.warn() in .java file; 寄件人︰ tong123123 收件人︰ Log4J Users List 傳送日期︰ 2012年11月8日 (週四) 11:45 AM 主題︰ 回覆︰