This content has been marked as final.
Show 4 replies
-
1. Re: How to make jboss log to the log files as specified in log4j.xml rather than server.log
jamezp Jan 9, 2014 1:49 PM (in response to gamvi01)I'm not sure that log4j will pick up the configuration file there. Try putting the log4j.xml in META-INF or WEB-INF/classes.
--
James R. Perkins
-
2. Re: How to make jboss log to the log files as specified in log4j.xml rather than server.log
gamvi01 Jan 9, 2014 1:55 PM (in response to jamezp)Jboss is reading log4j.xml as its creating wssg.log at the folder specified but no logs in that log file.
-
3. Re: How to make jboss log to the log files as specified in log4j.xml rather than server.log
jamezp Jan 9, 2014 2:00 PM (in response to gamvi01)Not too sure then. It looks like you're using a custom appender. Your best bet is to probably debug the appender and see why it's not being processed. Possibly the system properties for the threashold are wrong? Just a guess as I don't know how your appender works.
--
James R. Perkins
-
4. Re: How to make jboss log to the log files as specified in log4j.xml rather than server.log
gamvi01 Jan 9, 2014 11:19 PM (in response to jamezp)No that didnt make any difference.