logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dean A. Hoover" <dhoo...@rochester.rr.com>
Subject Re: tomcat and log4j, again
Date Thu, 03 Jul 2003 23:20:28 GMT
Ceki Gülcü wrote:

> At 08:40 AM 7/4/2003 +1000, you wrote:
>
>> Mmmm, for some reason it is using all the right class loaders to 
>> attempt to
>> find the log4j.xml file, but it only uses 1 different methods to try 
>> to find
>> log4j.properties.  That is odd.  Is this a Tomcat 4.1 specific class 
>> loader
>> issue?
>
>
> That's probably a cut-n-paste issue. Log4j searches for the log4j.xml 
> file first, but otherwise it searches in the same way as for the 
> log4j.properties file. 

Not a cut-n-paste issue. I blew away the catalina.out file prior to 
startup.sh. I then
attached the entire file, since it was more than a screenful for cutting and
pasting. What you see is what I got.

>
>
>> What about trying converting your log4j.properties file into a log4j.xml
>> file, and placing it in the same spot.  Given the catalina.out is 
>> attempting
>> to look for that file in the right spots it should find it.
>
>
> Using log4j.properties is fine. No need to convert to log4j.xml on 
> account of initialization.
>
>> Paul
>
>
> -- 
> 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
>
>



---------------------------------------------------------------------
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