Open
Description
Currently we are using log4j2 version 2.17.0 with spring boot but while updating log4j2 to 2.17.2 we are getting below error and which is because of the appender of root is initialise to null
Caused by: java.lang.NullPointerException: Cannot invoke "java.util.List.iterator()" because the return value of "org.apache.logging.log4j.core.config.LoggerConfig.getAppenderRefs()" is null
We are passing below properties:
rootLogger.appenderRef.console.ref=console
rootLogger.appenderRefs=console
rootLogger=INFO
Please help us to understand if we require some changes along with version upgrade?
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
In progress