FATAL logging via SLF4J is written as ERROR on EAP 6
Issue
We have our messages being sent out when the log level is FATAL.
if (log.isErrorEnabled()) {
log.error("ERROR message logged");
}
if (log.isFatalEnabled()) {
log.fatal("FATAL message logged");
}
Results in
ERROR [example.Category] (Thread-2) ERROR message logged
ERROR [example.Category] (Thread-2) FATAL message logged
Environment
- JBoss Enterprise Application Platform (EAP) 6
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.
