Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

log4j.properties

 
zuo liao
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 .

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic