RE: Origin of struts log messages misleading

2015-07-22 Thread Martin Gainty
which is the reason I always put %L (line number) in my Log4j PatternLayout be careful with log4j cache log4j.logger.classPath.myClass = INFO, CACHE log4j.appender.CACHE=org.apache.log4j.RollingFileAppender log4j.appender.CACHE.File = ./logs/cache.log log4j.appender.CACHE.bufferedIO = false log

Re: Origin of struts log messages misleading

2015-07-22 Thread Norbert Harrer
Hi Martin. Absolutely true. And Struts doesn't reimplement it anyway. Rather the wrapper around the logger (either JDK, log4j or other) screws up the information that is logged. In my original mail I used JDK (java.util) logging. Now here is an example after I switched struts to log4j: 2015-