-
1. Re: JBoss EAP 4.3 Periodic Log file rotation issue
wdfink May 24, 2013 2:50 AM (in response to ravi_ambavaram)First thing I don't understand is why you have two appender (FILE, appLog) active wich log the same stuff in two different files.
It might be a bug if two DRF appenders are used, remove the FILE appender and see how it works.
BTW you should use append=true otherwise the log will be overwritten if you restart the server.
-
2. Re: JBoss EAP 4.3 Periodic Log file rotation issue
ravi_ambavaram May 30, 2013 9:47 AM (in response to wdfink)Hi Wolf,
I changed jboss-log4j.xml file to have only one DRF FILE appender, even after the change the system is writing logs to the current active log file and also to the roated log file.
Thanks,
Ravi
-
3. Re: JBoss EAP 4.3 Periodic Log file rotation issue
wdfink May 30, 2013 2:40 PM (in response to ravi_ambavaram)from the attached log4j config you have three appender CONSOLE, FILE and appLog.
All are referenced from the root logger entry, so you write to server.log and <name>-server.log in parallel.
-
4. Re: JBoss EAP 4.3 Periodic Log file rotation issue
ravi_ambavaram Jun 3, 2013 10:21 AM (in response to wdfink)I have updated the jboss-log4j.xml file to have only two appenders ("FILE" and "CONSOLE") and also I am not writing the log to server.log file at all. FILE appender will write to <name>-server.log file and CONSOLE appender is for SYSOUT. I am attaching the updated jboss-log4j.xml file.
-
jboss-log4j.xml 10.7 KB
-