[
https://issues.apache.org/jira/browse/LOG4J2-1501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15412150#comment-15412150
]
Gary Gregory commented on LOG4J2-1501:
--------------------------------------
I did not want to just update the {{createAppender}} API signature, so I added
a new API. The old API is all {{String}}-based, while the new one is all
primitive-based (and String/Object where needed of course). I seems lame that
we would not deprecate the String-based API though.
I had forgotten to update all the unit tests to the new API, that is now done.
Should the old API be deleted? I know we make no guarantee in Core about BC but
I did not want to nuke it right away.
> FileAppender should be able to create files lazily
> --------------------------------------------------
>
> Key: LOG4J2-1501
> URL: https://issues.apache.org/jira/browse/LOG4J2-1501
> Project: Log4j 2
> Issue Type: Bug
> Components: Appenders
> Reporter: Gary Gregory
> Assignee: Gary Gregory
> Fix For: 2.7
>
>
> FileAppender should be able to create files lazily.
> Add a {{lazyCreate}} attribute to {{FileAppender}}.
> If that goes well, do the same for other types file appenders (rolling and
> random access).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]