[
https://issues.jboss.org/browse/LOGMGR-40?page=com.atlassian.jira.plugin....
]
James Perkins moved AS7-4369 to LOGMGR-40:
------------------------------------------
Project: JBoss Log Manager (was: Application Server 7)
Key: LOGMGR-40 (was: AS7-4369)
Workflow: jira (was: GIT Pull Request workflow )
Affects Version/s: (was: 7.1.0.Final)
Component/s: (was: Logging)
Security: Public
periodic-rotating-file-handler rotate server.log only with started
app-server at midnight
-----------------------------------------------------------------------------------------
Key: LOGMGR-40
URL:
https://issues.jboss.org/browse/LOGMGR-40
Project: JBoss Log Manager
Issue Type: Bug
Security Level: Public(Everyone can see)
Environment: + standalone-mode (maybe the same in domain-mode)
+ config for subsystem:logging not changed from download-package
jboss-as-7.1.0.Final.zip
<periodic-rotating-file-handler name="FILE">
<formatter>
<pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t)
%s%E%n"/>
</formatter>
<file relative-to="jboss.server.log.dir"
path="server.log"/>
<suffix value=".yyyy-MM-dd"/>
<append value="true"/>
</periodic-rotating-file-handler>
Reporter: Brand Neu
Assignee: James Perkins
Priority: Minor
first: behavior in jboss-5.1.GA:
+ not running over night
+ starting next day:
a) older server.log renamed to server.log.yyyy-MM-dd
b) new server.log created
current behavior in jboss-7.1.0.Final:
+ not running over night
+ starting next day:
a) older server.log used, not renamed, new enries append
-> expected behavior was like jboss-5.1.
<append value="false"/> doesn't help; same server.log, older entries
deleted.
------------------------------------------------------------
log-config in jboss-5.1.GA
<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"/>
<!-- Rollover at midnight each day -->
<param name="DatePattern"
value="'.'yyyy-MM-dd"/>
</appender>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira