Re: Log entries written to wrong file

2015-11-11 Thread Remko Popma
What happens if you don't disable the "Use an isolated class loader for this shared library" option? Is there an error message? To go back to your original question: it should be possible to have the log4j jars in the web container's shared lib and let each web app have its own log4j2.xml config f

Re: RollingFileAppender maxDelayMillis?

2015-11-11 Thread Benjamin Jaton
Thanks a lot for the explanation, much clearer now. Here is the JIRA: https://issues.apache.org/jira/browse/LOG4J2-1197 On Tue, Nov 10, 2015 at 11:39 PM, Remko Popma wrote: > On Wed, Nov 11, 2015 at 2:34 PM, Benjamin Jaton > wrote: > > > On Tue, Nov 10, 2015 at 6:13 PM, Remko Popma > > wrote:

Re: Log entries written to wrong file

2015-11-11 Thread Chinh Do
I got log separation to work by copying the log4j-core*.jar and log4j-api-*.jar to the WAR's lib folder. We are using a Shared Library and I also had to disable the option "Use an isolated class loader for this shared library" for it to work. However this is not ideal as disabling "Use an isolated