You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2013/07/15 22:34:17 UTC
[Bug 55270] New: JBoss Stoped Updating server.log
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: log4j-dev@logging.apache.org
Reporter: kefujing@gmail.com
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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
[Bug 55270] JBoss Stoped Updating server.log
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55270
Tim Ke <ke...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kefujing@gmail.com
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org