in linux , u can write this to /etc/profile
in windows 2000 , i think u have create new entity (from enviroment
variables) which name must be TOMCAT_OPTS and then write the values ..
u dont have to call "PropertyConfigurator.configure("init/log4j.lcf"); "
in the constructors after making this setup,
Regards
-----Original Message-----
From: Friedli Beat [UFA AG Her] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 28, 2001 9:43 AM
To: 'LOG4J Users Mailing List'
Subject: AW: Cannt find log4j.properties in Tomcat
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]
--------------------------------------------------------------------- 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]