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

Ralph Goers commented on LOG4J2-3341:
-------------------------------------

Initially all plugins used factory methods. Over time that became unwieldy as 
it led to a bunch of deprecated factory methods as you see here. Instead, any 
time a factory method needs to be changed we add a Builder instead as new 
methods can be added to builders without consequences. That is what happened 
here. 

> Support passing something like '-Dlog4j.rootLogger=INFO,Console' from command 
> line to set level and appenders at once
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: LOG4J2-3341
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-3341
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Configuration
>            Reporter: Duo Zhang
>            Assignee: Matt Sicker
>            Priority: Major
>             Fix For: 2.17.2
>
>         Attachments: log4j2.err, log4j2.properties
>
>
> Please see the discussion thread on the dev list.
> https://lists.apache.org/thread/gvfb3jkg6t11cyds4jmpo7lrswmx28w3
> The current direction is to introduce a new plugin to split the command line 
> argument.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to