I have created a webapplication and deployed in jboss server.
I placed log4j.properties file in WEB-INF/classes folder. But instead of using my application specific log4j.properties, it is using default log4j.properties and printing the logs in server.log.
When do I need to place the log4j.properties to be picked up? My war file is a JSR portlet, so I cannot use static method to read the properties file.
Thank you.