[
https://issues.apache.org/jira/browse/LOG4J2-65?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ralph Goers closed LOG4J2-65.
-----------------------------
> Variables are not supported on status attribute a NullPointerException occurs
> if a variable is specified on the root log level.
> -------------------------------------------------------------------------------------------------------------------------------
>
> Key: LOG4J2-65
> URL: https://issues.apache.org/jira/browse/LOG4J2-65
> Project: Log4j 2
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0-alpha1
> Reporter: Ralph Goers
> Assignee: Ralph Goers
> Fix For: 2.0-alpha2
>
>
> The following configuration causes a NullPointerException and the message
> "null object returned for root"
> <?xml version="1.0" encoding="UTF-8"?>
> <configuration status="${sys:log.level}" strict="false" name="DSI"
> packages="com.terradue.dsione">
> <appenders>
> <Console name="Console" target="SYSTEM_OUT">
> <PatternLayout pattern="[%-5level] %msg%n" />
> </Console>
> </appenders>
> <loggers>
> <root level="${sys:log.level}">
> <appender-ref ref="Console" />
> </root>
> </loggers>
> </configuration>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]