FATAL logging via SLF4J is written as ERROR on EAP 6

Solution Verified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content