In this recipe, you will learn how to target the log statement output of your application to a handler of your choice and have it logging in an asynchronous way. For the sake of simplicity, we will try our recipe with WildFly running in the standalone mode.
To test our logging configuration, we will need an application to log some statements. In this case, we will use the application named logging
. To obtain the artifact to deploy, please refer to the Software prerequisites recipe in Chapter 1, Welcome to WildFly!.
Furthermore, this recipe relies on the configuration made while explaining the Creating a file-handler logging and Creating a periodic-rotating file-handler recipes of this chapter.