jboss logging only auto detects slf4j if it is using logback

Description

The relevant file: https://github.com/hibernate/hibernate-orm/blob/master/documentation/src/main/asciidoc/topical/logging/Logging.adoc

The documentation states that the jboss logger will "search the ClassLoader for the availability of classes that indicate one of the above "providers" being available." Slf4j is one of the listed providers, but jboss logging will only use Slf4j if it is using logback.

jboss logger code here: https://github.com/jboss-logging/jboss-logging/blob/master/src/main/java/org/jboss/logging/LoggerProviders.java

Relevant snippet:

The documentation should mention this limitation of the jboss logger.

Environment

None
Fixed

Assignee

Steve Ebersole

Reporter

Cash Costello

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Minor
Configure