logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <c...@qos.ch>
Subject Re: 2 apps, 2 sets of files, common util classes
Date Thu, 14 Aug 2003 12:41:34 GMT

Do these two applications run in a servlet container (e.g. Tomcat) or an 
EJB container (e.g JBoss)?

At 01:34 PM 8/14/2003 +0100, you wrote:
>Hi all,
>We have two applications that should be writing to different log files
>in different directories.
>These applications use a set of common utility classes where the logger
>is set up with a statement such as:
>    private static Logger logger = Logger.getLogger(Player.class);
>The problem we have is that log messages from application 'a' using this
>class gets its messages written to both log files for app 'a' and app
>The two apps are run from separate jar files but we do not want to hard
>code the differences in the common util classes.
>Any clues on how we can avoid this ?
>Bill Comer

Ceki For log4j documentation consider "The complete log4j manual"
      ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp

To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org

View raw message