[ 
https://issues.apache.org/jira/browse/LOG4J2-1501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15412164#comment-15412164
 ] 

Gary Gregory commented on LOG4J2-1501:
--------------------------------------

When I look at the ConsoleAppender it has both a builder AND an primitive-based 
create API. That seems redundant, is that just be BC? Why isn't the API using 
the builder to avoid duplicating the validation code? Also the create method 
checks for a null name but the builder does not. Which one is correct. Bleh, 
what a mess :-( Can we agree one doing things one way?

> 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]

Reply via email to