Re: Origin of struts log messages misleading

2015-07-22 Thread Norbert Harrer
to duplicate these features when log4j already fulfills those requirements? http://logging.apache.org/log4j/2.x/ HTH Martin Subject: Re: Origin of struts log messages misleading To: user@struts.apache.org From: nhar...@gmx.at Date: Tue, 21 Jul 2015 13:00:02 +0200 Alright. Only need to be patient

RE: Origin of struts log messages misleading

2015-07-22 Thread Martin Gainty
log4j.appender.CACHE.ImmediateFlush=true //never implement cache without flush if you dont RollingFileAppender will cache the original entry until its flushed Martin Subject: Re: Origin of struts log messages misleading To: user@struts.apache.org From: nhar...@gmx.at Date: Wed, 22 Jul 2015

Re: Origin of struts log messages misleading

2015-07-21 Thread Norbert Harrer
Alright. Only need to be patient then :-) Thanks. On 18.07.2015 19:55, Lukasz Lenart wrote: 2015-07-17 23:57 GMT+02:00 Norbert Harrer nhar...@gmx.at: Hi. I noticed, that all log messages from struts look like this: Jul 17, 2015 11:31:39 PM com.opensymphony.xwork2.util.logging.jdk.JdkLogger

RE: Origin of struts log messages misleading

2015-07-21 Thread Martin Gainty
the same thread why should anyone want to duplicate these features when log4j already fulfills those requirements? http://logging.apache.org/log4j/2.x/ HTH Martin Subject: Re: Origin of struts log messages misleading To: user@struts.apache.org From: nhar...@gmx.at Date: Tue, 21 Jul 2015 13:00

Re: Origin of struts log messages misleading

2015-07-18 Thread Norbert Harrer
Thanks, Martin, for your reply. But aren't you talking about my own logging messages? I was talking about the log messages from struts itself. Kindest Regards, Norbert. On 18.07.2015 02:16, Martin Gainty wrote: Norbert: you can always dig out the class name e.g. logger.getClass().getName()

Re: Origin of struts log messages misleading

2015-07-18 Thread Lukasz Lenart
2015-07-17 23:57 GMT+02:00 Norbert Harrer nhar...@gmx.at: Hi. I noticed, that all log messages from struts look like this: Jul 17, 2015 11:31:39 PM com.opensymphony.xwork2.util.logging.jdk.JdkLogger info INFO: Parsing configuration file [struts-plugin.xml] Jul 17, 2015 11:31:39 PM

RE: Origin of struts log messages misleading

2015-07-17 Thread Martin Gainty
Norbert: you can always dig out the class name e.g. logger.getClass().getName() OR implement log4j and configure log4j.xml thusly: Configuration status=warn name=MyApp packages= Appenders File name=MyFile fileName=logs/app.log PatternLayout Pattern%2 %d %p %c{1.} [%t]