1 Reply Latest reply on Oct 1, 2019 8:39 AM by erik-brangs

    Logging in Wildfly 17?


      What is the preferred way to generate log output in Wildfly 17? I've seen a lot of documentation about configuring logging, but nothing about which API(s) to use.




        • 1. Re: Logging in Wildfly 17?

          AFAIK you can use the APIs of Commons Logging, SLF4J, Log4j or JBoss Logging. Wildfly adds implementations for these APIs to each deployment (see Developer Guide ) .


          I've used SLF4J. The applications didn't contain any implementations of logging APIs (i.e. no dependency on SLF4J implementations and transitive logging dependencies were set to scope "provided" in the POM).