logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Cook <den...@cook-mail.net>
Subject Re: setting up multiple log4j configurations for multiple WAR pac kage s?
Date Sat, 22 Nov 2003 12:01:52 GMT
So if the server itself uses log4j for logging, does that mean that you 
will not be able to configure individual web apps to work independently 
of each other and or the server?

On Friday, November 21, 2003, at 07:36 AM, Ken.Liu@bmwna.com wrote:

> IMHO, the simplest and easiest configuration to maintain is to place
> log4j.jar in WEB-INF/lib and log4j.xml in WEB-INF/classes in each WAR. 
>  This
> should work fine without any additional server configuration.  You 
> should
> not have log4j.jar in your server's classpath or logging won't be 
> separate
> between webapps.
>
> Ken
>
>> -----Original Message-----
>> From: Yuzwa, Erik [mailto:Erik.Yuzwa@encana.com]
>> Sent: Friday, November 21, 2003 8:30 AM
>> To: 'Log4J Users List'
>> Subject: setting up multiple log4j configurations for multiple WAR
>> package s?
>>
>>
>> Hi all,
>>
>> I'm sorry if this is a FAQ, as I've looked everywhere and
>> can't find very
>> many
>> resources on setting up multiple log4j configurations for
>> different WAR
>> packages
>> (ie. a seperate set of log files for each WAR app).
>>
>> I've tried including a log4j.xml and log4j.blah.jar file with
>> each WAR, but
>> that
>> doesn't seem to work properly.
>>
>> Is there a configuration setting that I'm missing on the
>> servlet container
>> itself?
>> Should the log4j.blah.jar file be in the classpath of the
>> servlet container
>> or
>> remain on the application layer?
>>
>> thanks!
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: log4j-user-help@jakarta.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: log4j-user-help@jakarta.apache.org
>
>


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


Mime
View raw message