I am using slf4j for logging in my application which is deployed in JBOSS.
Now i want to externalize the log4j.properties means i want to pull it out side of myapp.war.
So i have created a jar with log4j.propeties along with my application specific properties file and placed the jar in %JBOSS_HOME%/server/default/lib.
I am able to read the remaining configuration file in my application, but the JBOSS not considering the log4j.properties in this jar.
Is there any mistake in my approach?
I want the log4j.properties should be outside of myapp.war.Thats my goal...