Isn't it simply based on the "resource loading" mechanism ? (i.e. the file
has to be available in a "root" package in the classpath)

Dominique JOCAL
Consultant - OCTO Technology
mailto:[EMAIL PROTECTED]
tel:+33 6 22 66 09 70
http://www.octo.com
----- Original Message -----
From: "Anuj Agrawal" <[EMAIL PROTECTED]>
To: "LOG4J Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, May 07, 2001 2:05 PM
Subject: Re: tomcat and log4j


> jason teh wrote:
>
> > PropertyConfigurator.configure("log4j.properties");
>
> If you are using the above line in your code, then it is assuming that the
log4j.properties file is in the directory that the VM was started - in
tomcat's case, it is either the bin directory (if you are
> starting it from command line) or the root directory (if you are starting
it as a service).
>
> It is strange that putting in the full path still doesn't do it - you
might want to try out Winfried's suggestion.
>
> Anuj.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to