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

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

Why was LoggerConfig.createLogger() method deprecated in 
5a459dda1e731dfa93198db63493c1cb1cd1e941?
And what is the suggested migration path for users?
There is no documentation as to why it's deprecated and what users should 
migrate to according to the published 
[Javadocs|https://logging.apache.org/log4j/2.x/log4j-core/apidocs/org/apache/logging/log4j/core/config/LoggerConfig.html#createLogger-boolean-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-]
 or changelog that I can see.

> 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