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

Duo Zhang commented on LOG4J2-3394:
-----------------------------------

{quote}
Introducing a new plugin or syntax for setting multiple values in a single 
attribute is a bit of a hack if it's only important for properties files.
{quote}

I would argue that this should not be limited only to properties files. We 
should have the same ability for all configuration formats.

{quote}
The CompoundProperty concept might work, though it smells like slowly 
introducing another type of expression language in the config file format.
{quote}

Well, I think this is because we have dropped the support of log4j.rootLogger 
support, which is commonly used in log4j1, so we have to find other ways to 
support it. And if we want to make it generic enough, we have to introduce 
something like a DSL…

For me, ConfigurationFactory is also fine. Is this already present in the log4j 
code base or it is still just an idea in mind?

Thanks.

> The 'rootLogger=${sys:root.logger:-INFO,console}' does not work
> ---------------------------------------------------------------
>
>                 Key: LOG4J2-3394
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-3394
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Configuration
>            Reporter: Duo Zhang
>            Priority: Major
>         Attachments: log4j2.err, log4j2.properties
>
>
> Tried the new feature introduced in LOG4J2-3341 in hbase.
> https://github.com/apache/hbase/pull/4096
> I built a tarball and try to start a standalone hbase instance locally, but 
> log4j2 failed to load the system properties of rootLogger.
> Will upload the config and error output.



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

Reply via email to