[
https://issues.apache.org/jira/browse/LOG4J2-3394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17488563#comment-17488563
]
Matt Sicker edited comment on LOG4J2-3394 at 2/8/22, 2:37 AM:
--------------------------------------------------------------
Yes, ConfigurationFactory is available in all Log4j2 releases. Some basic info
in [https://logging.apache.org/log4j/2.x/manual/extending.html] and further
documented in [https://logging.apache.org/log4j/2.x/manual/customconfig.html]
(the latter uses the same API that we use in the properties file format
implementation which has API docs here:
[https://logging.apache.org/log4j/2.x/log4j-core/apidocs/org/apache/logging/log4j/core/config/builder/api/package-summary.html]
)
And what do you mean by root logger support? We do support that I thought?
was (Author: jvz):
Yes, ConfigurationFactory is available in all Log4j2 releases. Some basic info
in [https://logging.apache.org/log4j/2.x/manual/extending.html] and further
documented in [https://logging.apache.org/log4j/2.x/manual/customconfig.html]
(the latter uses the same API that we use in the properties file format
implementation which has API docs here:
[https://logging.apache.org/log4j/2.x/log4j-core/apidocs/org/apache/logging/log4j/core/config/builder/api/package-summary.html]
And what do you mean by root logger support? We do support that I thought?
> 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)