I am new to log4j!
I am using IntelliJ Idea.
I am deployng EAR app on Jboss 7.1.1 Final.
My EAR app contains EJB and WAR packages.
So the question is – Where to put log4j.properties or log4j.xml?
And do I need to initialize it in code or not?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is no need to include a log4j.xml or logging.properties configuration file with your application if you’re using JBoss AS 7. The only reason to do that would be to use an appender that is not included in the JBoss AS 7 logging subsystem.