Re: 404 error with @Action(/) when upgrading Struts2 REST 2.1.8 to 2.3.7

2015-07-22 Thread Lukasz Lenart
2015-07-21 12:54 GMT+02:00 Júlio Aragão ju...@quimbik.com: Lukasz, Thanks for the answer. So, is there a way to map the root to an specific action, with convention and rest plugins, once RestActionMapper returning null is the desired effect? Hm... not sure if such situation was predicted. I

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:

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