[jboss-jira] [JBoss JIRA] (WFWIP-157) Wildfly 16 incorrect working log zip rotator
Игорь Дмитриев (Jira)
issues at jboss.org
Tue Mar 26 05:54:06 EDT 2019
[ https://issues.jboss.org/browse/WFWIP-157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Игорь Дмитриев updated WFWIP-157:
---------------------------------
Description:
My logging profile configuration is:
1)
{code:xml}
<periodic-size-rotating-file-handler name="FILE" rotate-on-boot="false" autoflush="true">
<level name="ALL"/>
<file relative-to="jboss.server.log.dir" path="corp.log"/>
<rotate-size value="300k"/>
<max-backup-index value="10000"/>
<suffix value=".yyyy-MM-dd.zip"/>
<append value="true"/>
</periodic-size-rotating-file-handler>
{code}
File corp.log increase it size permanently, even after new corp.log.yyyy-MM-dd.N.zip file created. Due it, each .zip archive contain same corp.log with maximum current size.
2)
{code:xml}
<periodic-size-rotating-file-handler name="FILE2" rotate-on-boot="true" autoflush="true">
<level name="ALL"/>
<file relative-to="jboss.server.log.dir" path="corp.log"/>
<rotate-size value="300k"/>
<max-backup-index value="10000"/>
<suffix value=".yyyy-MM-dd.zip"/>
<append value="false"/>
</periodic-size-rotating-file-handler>
{code}
All work as expected, except each time corp.log reach 300k, appear pair .zip files with same content?
was:
My logging profile configuration is:
1)
{code:xml}
<periodic-size-rotating-file-handler name="FILE" rotate-on-boot="false" autoflush="true">
<level name="ALL"/>
<file relative-to="jboss.server.log.dir" path="corp.log"/>
<rotate-size value="300k"/>
<max-backup-index value="10000"/>
<suffix value=".yyyy-MM-dd.zip"/>
<append value="true"/>
</periodic-size-rotating-file-handler>
{code}
File corp.log increase it size permanently, even after new corp.log.yyyy-MM-dd.N.zip file created. Due it, each .zip archive contain same corp.log with maximum current size.
2)
{code:xml}
<periodic-size-rotating-file-handler name="FILE2" rotate-on-boot="true" autoflush="true">
<level name="ALL"/>
<file relative-to="jboss.server.log.dir" path="corp.log"/>
<rotate-size value="300k"/>
<max-backup-index value="10000"/>
<suffix value=".yyyy-MM-dd.zip"/>
<append value="false"/>
</periodic-size-rotating-file-handler>
{code}
All work as expected, except each time corp.log reach 300k, appear certain TWO SAME .zip files ?
> Wildfly 16 incorrect working log zip rotator
> --------------------------------------------
>
> Key: WFWIP-157
> URL: https://issues.jboss.org/browse/WFWIP-157
> Project: WildFly WIP
> Issue Type: Bug
> Components: Logging
> Reporter: Игорь Дмитриев
> Assignee: James Perkins
> Priority: Major
>
> My logging profile configuration is:
> 1)
> {code:xml}
> <periodic-size-rotating-file-handler name="FILE" rotate-on-boot="false" autoflush="true">
> <level name="ALL"/>
> <file relative-to="jboss.server.log.dir" path="corp.log"/>
> <rotate-size value="300k"/>
> <max-backup-index value="10000"/>
> <suffix value=".yyyy-MM-dd.zip"/>
> <append value="true"/>
> </periodic-size-rotating-file-handler>
> {code}
> File corp.log increase it size permanently, even after new corp.log.yyyy-MM-dd.N.zip file created. Due it, each .zip archive contain same corp.log with maximum current size.
> 2)
> {code:xml}
> <periodic-size-rotating-file-handler name="FILE2" rotate-on-boot="true" autoflush="true">
> <level name="ALL"/>
> <file relative-to="jboss.server.log.dir" path="corp.log"/>
> <rotate-size value="300k"/>
> <max-backup-index value="10000"/>
> <suffix value=".yyyy-MM-dd.zip"/>
> <append value="false"/>
> </periodic-size-rotating-file-handler>
> {code}
> All work as expected, except each time corp.log reach 300k, appear pair .zip files with same content?
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list