Two quick questions: What is your log4j2 version, and are you using Async
Loggers?

On Fri, Nov 6, 2015 at 2:17 AM, Chinh Do <[email protected]> wrote:

> Hi all,
>
> I am running multiple web apps (WARs) in the same WebSphere instance. Each
> web app has its own log4j2.xml and is configured to write to a separate log
> file. But I am seeing some log entries being written to the wrong log file.
>
> I think the problem is because we are using the log4j JARs in a shared lib
> folder.
>
> Is this article from 2012 still relevant to my issue?
> http://articles.qos.ch/sc.html
>
> What's the best way currently to achieve log separating when running
> multiple web apps in the same container?
>
> Thanks in advance
>
> Chinh
>
> --
> http://www.chinhdo.com - https://twitter.com/chinhdo
>

Reply via email to