tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Logging configuration in TomEE 1.5.1 with commons-logging and log4j
Date Thu, 24 Jan 2013 10:37:08 GMT
Hi,

putting log4j.xml (or log4j2.xml) + "log4j.jar" in the app is not enough?

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/1/24 ajaeger <ajaeger@opentext.com>

> Hello,
>
> we need some advice regarding logging configuration in TomEE 1.5.1 with
> commons-logging and log4j.
>
> We use the following scenario:
> - several applications are deployed in TomEE as webapp and/or app
> - each application should have its own log file
> - each application should be configured separately with an application
> specific log4j.xml
> - some classes are contained in multiple application but should only log in
> one application if configured
>
> In a plain Tomcat it is working as expected due to class loading
> separation.
> How must we configure TomEE to support our scenario?
> Is there a way to enable child-first class loading instead of parent-first
> class loading in TomEE?
>
> Thanks in advance for your help
> Andreas
>
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Logging-configuration-in-TomEE-1-5-1-with-commons-logging-and-log4j-tp4660376.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message