[
https://issues.apache.org/jira/browse/LOG4J2-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15327075#comment-15327075
]
K P commented on LOG4J2-239:
----------------------------
This would indeed help for a log4j 1.x feature that is missing in log4j 2.x
See also:
http://stackoverflow.com/questions/30059333/log4j2-rolling-appender-filename-sliding-according-to-pattern
It has been missing for migrating from log4j 1.x, and various people have been
requesting, see also LOG4J2-907, LOG4J2-1185, ...
> RollingFileAppender should support logging directly to the file referenced in
> the filePattern.
> ----------------------------------------------------------------------------------------------
>
> Key: LOG4J2-239
> URL: https://issues.apache.org/jira/browse/LOG4J2-239
> Project: Log4j 2
> Issue Type: Improvement
> Components: Appenders
> Affects Versions: 2.0-beta5
> Reporter: Ralph Goers
> Priority: Minor
> Labels: Rollover
>
> RollingFileAppender currently requires a fileName to be configured. The
> current log will be written to this file and then copied or renamed during
> rollover. RollingFileAppender should support omitting the fileName, in which
> case the log output will be written directly to the rollover file.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]