[
https://issues.apache.org/jira/browse/LOG4J2-3483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17526009#comment-17526009
]
Piotr Karwasz commented on LOG4J2-3483:
---------------------------------------
[~iamjamal],
I don't have anything against adding a builder for
{{org.apache.log4j.rolling.RollingFileAppender}}, but it must be a different
builder than the one for {{org.apache.log4j.RollingFileAppender}}.
Since you seem at easy with the way the bridge builders work, could you provide
a PR on github?
> log4j-1.2-api bridge RollingFileAppender doesn't provide filePattern support
> ----------------------------------------------------------------------------
>
> Key: LOG4J2-3483
> URL: https://issues.apache.org/jira/browse/LOG4J2-3483
> Project: Log4j 2
> Issue Type: Bug
> Components: Log4j 1.2 bridge
> Affects Versions: 2.17.2
> Reporter: Md Jamaluddin Khan
> Assignee: Piotr Karwasz
> Priority: Blocker
>
> The Builder for RollingFileAppender doesn't provide support for filePattern.
> In case of a roll-over it uses a hardcoded pattern like 'filename+.<count>'.
> There are cases where a user would like the rolled over file to be named as
> per a desired pattern. In absence of this option it renders the migration
> from log4j1 to log4j2 via bridge almost impossible without breaking changes.
> Add support for filePattern in all the configurations ( XML, properties )
--
This message was sent by Atlassian Jira
(v8.20.7#820007)