Try putting log4j.jar in your WEB-INF/lib directory, and your log4j.props in
your classes directory.
or
set up a servlet that loads on startup that uses the log4j method to define
the path to your prop file, in the init().

-----Original Message-----
From: Sloan Seaman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 3:23 PM
To: [EMAIL PROTECTED]
Subject: Log4J and tomcat


I'm deploying a war file using tomcat and I wish to use Apache's common
logging api to log things (log4j behind the scenes).

For some reason my configuration file seems to be getting ignored but my
log.info msgs are showing up in the console window for Tomcat.

Can someone tell me why this is happening?

How do I get my app to use my log4j conf file?

Thanks!
--
Sloan



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