[
https://issues.apache.org/jira/browse/LOG4J2-864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16002208#comment-16002208
]
Karel Cerman commented on LOG4J2-864:
-------------------------------------
Hello
is there any chance that this will be fixed?
Thanks for answer.
Karel
> RollingFile - bad naming of files within zipped archives
> --------------------------------------------------------
>
> Key: LOG4J2-864
> URL: https://issues.apache.org/jira/browse/LOG4J2-864
> Project: Log4j 2
> Issue Type: Bug
> Components: Appenders
> Affects Versions: 2.0.2
> Environment: Windows 7 64 bit
> Java 8 update 20
> Reporter: Adam Honen
> Priority: Minor
>
> I'm writing log messages in great speed (never tried at slow speed...) with
> the following configuration:
> {code}
> ...
> <RollingFile name="fileSync" fileName="logs/mylog.log"
> filePattern="logs/mylog.%i.log.zip">
> <PatternLayout pattern="%d{HH:mm:ss.SSS} [%thread..%X{akkaSource}]
> %-5level %c{1.} - %msg%n" />
> <Policies>
> <SizeBasedTriggeringPolicy size="25 MB" />
> </Policies>
> <DefaultRolloverStrategy max="10" />
> </RollingFile>
> ...
> {code}
> Expected result:
> Log files get rolled over and zipped while each archive with the name format
> of mylog.<X>.log.zip contains a file named mylog.<X>.log.
> Actual result:
> Given enough time, all archives contain files named mylog.10.log.
> For example, mylog.8.log.zip contains mylog.10.log.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)