O'Reilly logo

WildFly Cookbook by Luigi Fugaro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using a different logging implementation

In this final recipe about logging, we will learn how to use a different logging implementation. In the earlier version of JBoss AS, you could have relied on the java.util.logging (also JUL) or the log4j implementation. WildFly relies on the JUL logging implementation.

Getting ready

To manage which logging implementation you can use, WildFly gives you a couple of attributes.

The first one is named add-logging-api-dependencies, which can be set to true (default value) or to false. When it's true, the WildFly logging default implementation is automatically added to all deployments.

The other attribute is named use-deployment-logging-config, which can be set to true (default value) or to false. When set to true ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required