[
https://issues.apache.org/jira/browse/LOG4J2-3341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17483522#comment-17483522
]
Matt Sicker commented on LOG4J2-3341:
-------------------------------------
Looking more closely at this, there might not even be a need for the compound
property plugin as this is a properties format specific feature anyways. This
syntax could then work for both {{rootLogger = INFO,Console}} and
{{logger.full.logger.name.here = INFO,Console}}. As appender refs can include
more than one, we could also support a comma-separated list of all appender
refs to add to further generify this.
> 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
>
> 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)