I am having the same problem
But I don't understand, where I have to set the property. Is it in the startup.bat?
Will I still have to call ' PropertyConfigurator.configure("init/log4j.lcf"); ' in the constructor of every class?
I'm working with Tomcat 4.0 beta7 (Windows 2000)
Thanks
Beat Friedli
email: <mailto:[EMAIL PROTECTED]>
-----Urspr��ngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 27. August 2001 14:42
An: [EMAIL PROTECTED]
Betreff: RE: Cannt find log4j.properties in Tomcat
hi ,
u have to write this property in TOMCAT_HOME , like this
TOMCAT_HOME=
"-Dlog4j.configuration=file:/usr/local/tomcat/conf/log4j.properties"
export TOMCAT_HOME
Regards..
-----Original Message-----
From: z k [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 27, 2001 12:59 PM
To: [EMAIL PROTECTED]
Subject: Cannt find log4j.properties in Tomcat
Hello every one.
I try to use log4j in Tomcat environment.
i followed the instruction written in the log4j manual.
but i doesnt work. my servlet still cannt find log4j.properties
which i had put into WEB-INF/classes directory.
thanks
redbeebird
_________________________________________________________________
�������� MSN Hotmail վ�� http://www.hotmail.com/cn ����շ������ʼ�
---------------------------------------------------------------------
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]
