Hi,

>In my webapps, I use log4j, and I don't specify anything
>such as
>     <env-entry>
>       <env-entry-name>log4jPath</env-entry-name>
>       <env-entry-value>logging.conf</env-entry-value>
>       <env-entry-type>java.lang.String</env-entry-type>
>     </env-entry>
>in web.xml
>
>I only put a log4j.properties file in
>$tomcat/webapps/MYAPPLICATION/WEB-INF/classes
>and of course log4j.jar in
>$tomcat/webapps/MYAPPLICATION/WEB-INF/lib
>
>And it works !

Right -- you're relying on log4j's default initialization procedure.
Michael doesn't want to do that.

>>     <env-entry>
>>       <env-entry-name>log4jPath</env-entry-name>
>>       <env-entry-value>logging.conf</env-entry-value>
>>       <env-entry-type>java.lang.String</env-entry-type>
>>     </env-entry>
>>
>> in my web.xml file where will it look for the logging.conf file.
>> I have put
>> a copy in every directory I can think of and it still says it
>> can't find the
>> file.....

What says it can't find the file?  Can you (yourself, not log4j) find
and read the find using JNDI?

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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

Reply via email to