https://issues.apache.org/bugzilla/show_bug.cgi?id=55270
Bug ID: 55270
Summary: JBoss Stoped Updating server.log
Product: Log4j
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Appender
Assignee: [email protected]
Reporter: [email protected]
Hi,
On our servers, we found Jboss stopped updating server.log after running a
couple of days.
We are using DailyRollingFileAppender like below:
<appender name="FILE"
class="org.jboss.logging.appender.DailyRollingFileAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="File" value="${jboss.server.log.dir}/server.log"/>
<param name="Append" value="true"/>
<param name="Threshold" value="INFO"/>
<param name="MaxFileSize" value="5000KB"/>
<param name="MaxBackupIndex" value="1"/>
<param name="DatePattern" value="'.'yyyy-MM-dd"/>
</appender>
We notice that the java process opened a "deleted" file when the problem
happened with a lsof command:
/home/jboss-4.3.0/server/main/log/server.log~ (deleted)
The .jar we are using is slf4j-log4j12-1.5.6.jar.
When the problem happened, application functionality worked fine. And after we
make a "touch jboss-log4j.xml", JBoss started the update server.log again.
Thanks,
Tim Ke
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]