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

Jeremy Norris commented on LOG4J2-3341:
---------------------------------------

Additionally, the other 
[LoggerConfig.createLogger()|https://logging.apache.org/log4j/2.x/log4j-core/apidocs/org/apache/logging/log4j/core/config/LoggerConfig.html#createLogger-java.lang.String-org.apache.logging.log4j.Level-java.lang.String-java.lang.String-org.apache.logging.log4j.core.config.AppenderRef:A-org.apache.logging.log4j.core.config.Property:A-org.apache.logging.log4j.core.config.Configuration-org.apache.logging.log4j.core.Filter-]
 method includes a deprecation that points you to use this newly deprecated 
method, which is confusing...

> 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