[jboss-jira] [JBoss JIRA] (WFLY-2093) No any log generated after changing periodic-rotating-file-handler to size-rotating-file-handler
RH Bugzilla Integration (JIRA)
jira-events at lists.jboss.org
Mon Oct 7 07:13:02 EDT 2013
[ https://issues.jboss.org/browse/WFLY-2093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12810430#comment-12810430 ]
RH Bugzilla Integration commented on WFLY-2093:
-----------------------------------------------
Ondrej Lukas <olukas at redhat.com> made a comment on [bug 1008806|https://bugzilla.redhat.com/show_bug.cgi?id=1008806]
I tried to reproduce it according your steps, but it always works fine for me. It logs WARN message but it writes another logs which looks right as usual. Is there any other needed configuration please? I can't verify it for that reason.
> No any log generated after changing periodic-rotating-file-handler to size-rotating-file-handler
> ------------------------------------------------------------------------------------------------
>
> Key: WFLY-2093
> URL: https://issues.jboss.org/browse/WFLY-2093
> Project: WildFly
> Issue Type: Bug
> Components: Logging
> Reporter: Xiaohui Wu
> Assignee: James Perkins
>
> There is no any log in the server.log after changing periodic-rotating-file-handler to size-rotating-file-handler.
> The reproduce steps:
> 1. remove the part periodic-rotating-file-handler in standalone.xml
> <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>
> 2. add one size-rotating-file-handler
> <size-rotating-file-handler name="FILE" autoflush="true">
> <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"/>
> <rotate-size value="500k"/>
> <max-backup-index value="15"/>
> <append value="true"/>
> </size-rotating-file-handler>
> 3. start the jboss server, then you will see there is a warning in the server.log and no any further logs in the server.log.
> 13:23:28,205 WARN [org.jboss.as.logging] (Controller Boot Thread) JBAS011511: Replacing handler 'FILE' during add operation. Either the handler type or the module name differs from the initial configuration.
> The possible fix:
> https://issues.jboss.org/browse/WFLY-178 the code change is in https://github.com/wildfly/wildfly/pull/4137
> and the bugzilla is in EAP6.1.0:
> https://bugzilla.redhat.com/show_bug.cgi?id=918103
> But this issue still exists in 6.1.1
> Best Regards,
> Vicky
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list