It's not a secret anymore!*
The moose likes Other Open Source Projects and the fly likes log4j.properties Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "log4j.properties" Watch "log4j.properties" New topic
Author

log4j.properties

zuo liao
Greenhorn

Joined: Oct 11, 2007
Posts: 8
I have a jar(common.jar) file which will be used by all the J2EE applications. I put it under WebSphere\AppServer\lib\ext folder. The common.jar uses log4j.

If we have J2EE application which also use log4j, it has its own log4j.properties. Will log4j.properties in common.jar affect log4j.properties in the J2EE application? Thanks
Matt Swaggi
Ranch Hand

Joined: May 29, 2008
Posts: 61
That depends upon the class loader policy that you set and also the hierarchy.

EAR - PARENT
JAR - CHILD
WAR CHILD

Usually it is either single / multiple .

 
Don't get me started about those stupid light bulbs.
 
subject: log4j.properties