I have an EAR who has only EJBs (EJB3.0) and with out a WAR module, the server is JBOSS 4.3 over linux.
I want to initialize LOG4J with a log4j.properties file outside the server and use slf4j as facade.
What is the best way to initialize my log4j?
Thanks in advance
I have initialized in Startup and put log4j in META-INF folder. And just use log4j without Slf4j. (EJB 3.1)
I hope below code helps;