The logging subsystem is where you can configure the information statements of WildFly and your application, for debugging and auditing purposes.
WildFly comes with a default configuration, which can be found in the configuration
folder of both the standalone and domain directories. The default configuration automatically logs the information on the console and on a file named server.log
.
As you will learn in this chapter, WildFly has seven different handlers to help you persist with your application logs:
Periodic: Writes application logs to a file by rotating it on the basis of time
Size: Writes application logs to a file by rotating it on the basis of size
Async: Wraps one or more handler to give asynchronous behavior
Custom: Lets you use your own handler, as long as it extends the
java.util.logging.Handler
class
Depending on...