Red Hat JBoss Enterprise Application Platform (JBoss EAP) comes with a number of built-in handlers to configure the logging subsystem.
The JBoss EAP logging subsystem is made up of the following components:
Handlers determine how events are logged. JBoss EAP contains several built-in handlers that log messages from applications.
Loggers organize events into logically related categories. A category usually maps to a certain package namespace that is running within the JVM.
The root logger is at the top of the logger hierarchy. This hierarchy organizes loggers into a parent-child tree.
By default, JBoss EAP has the following two handlers:
A CONSOLE handler, which logs messages to the system console or terminal
A FILE handler, which logs to a file called server.log.
The default handlers log messages at the INFO level.
Logger categories provide fine-grained control over what events to log.
Log levels are also arranged in a hierarchical manner that determines the verbosity of the logging.
The logging subsystem is configured and managed in multiple ways by using the management console, the management CLI, or manually editing the XML configuration files.
Log levels can be dynamically updated at runtime to assist troubleshooting without a server restart.