You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Brian Harris (Jira)" <ji...@apache.org> on 2020/09/23 21:20:00 UTC
[jira] [Created] (LOG4J2-2933) Configurator.setAllLevels throws
when using log4j-to-slf4j
Brian Harris created LOG4J2-2933:
------------------------------------
Summary: Configurator.setAllLevels throws when using log4j-to-slf4j
Key: LOG4J2-2933
URL: https://issues.apache.org/jira/browse/LOG4J2-2933
Project: Log4j 2
Issue Type: Bug
Reporter: Brian Harris
When using SLF4J bridge (log4j-to-slf4j-2.0.jar) then calling Configurator.setAllLevels throws a ClassCastException because a SLF4JLoggerContext is returned. Being in the core jar I assumed this should work whether or not using the bridge, but I may be wrong.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)