| Article: |
Understanding Classloaders: log4j in a J2EE Environment | |
| Subject: | configuration file? | |
| Date: | 2003-07-18 05:25:55 | |
| From: | tdennison | |
| This article was helpful, but I still am left wondering where I should locate the log4j.properties file if my WAR and ejb-jar classes utilize log4j. Can someone shed some light on this issue? | ||
Showing messages 1 through 1 of 1.
-
configuration file?
2003-09-08 02:45:42 anonymous2 [View]



1. put it in web-inf/classes, if only web components use log4j
2. put it in .ear root if web and ejbs use it. in this case, classpath entry in manifest files of web and ejb jar has to point to your properties file.