Setting 'level-range' logging filter fails with "JBAS011539: Log level undefined is invalid." in EAP 6
Issue
level-rangelogging filter should work with the setting like this, under a logger or a handler element in theloggingsubsystem section of standard.xml or domain.xml.
<periodic-rotating-file-handler name="FILE">
<filter>
<level-range min-level="DEBUG" max-level="WARN"/>
</filter>
...
</periodic-rotating-file-handler>
Though it doesn't work and find the following error message in the boot.log.
12:33:03,753 ERROR [org.jboss.as.controller.management-operation] JBAS014613: Operation ("add") failed - address: ([
("subsystem" => "logging"),
("periodic-rotating-file-handler" => "FILE")
]) - failure description: "JBAS011539: Log level undefined is invalid."
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.0.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
