struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Albrecht <>
Subject AW: Using Log4j in Struts 1.1
Date Thu, 08 Jul 2004 14:45:16 GMT

1. You have to put commons.logging.jar and your favourite implementation, e.g.
log4j.jar, in the WEB-INF/lib or the server directory for common libraries
(e.g. CATALINA_HOME/commons/lib).

2. The configuration of the logging framework could be done in several ways. The
most simple one to do is to copy the in your WEB-INF/classes
After that you can start with logging immediately, but there are two
- property file is part of deployment
- changing of log4j.xml could due to a server redeployment of the web app.

I hoe this helps you a little bit to get off.


NEUSTA Computersprachen GmbH
Ostertorsteinweg 30
28203 Bremen
Tel.: +49 421 20696-22
Fax: +49 421 20696-99
Mobil: +49 171 4289299

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message