Chapter 5. Logging for Developers
5.1.1. About Logging
5.1.2. Application Logging Frameworks Supported By JBoss LogManager
- JBoss Logging - included with JBoss EAP 6
- Apache Commons Logging - http://commons.apache.org/logging/
- Simple Logging Facade for Java (SLF4J) - http://www.slf4j.org/
- Apache log4j - http://logging.apache.org/log4j/1.2/
- Java SE Logging (java.util.logging) - http://download.oracle.com/javase/6/docs/api/java/util/logging/package-summary.html
5.1.3. About Log Levels
WARNwill only record messages of the levels
5.1.4. Supported Log Levels
Table 5.1. Supported Log Levels
Use for messages that provide detailed information about the running state of an application. Log messages of
Use for messages that indicate the progress individual requests or activities of an application. Log messages of
Use for messages that indicate the overall progress of the application. Often used for application startup, shutdown and other major lifecycle events.
Use to indicate a situation that is not in error but is not considered ideal. May indicate circumstances that may lead to errors in the future.
Use to indicate an error that has occurred that could prevent the current activity or request from completing but will not prevent the application from running.
Use to indicate events that could cause critical service failure and application shutdown and possibly cause JBoss EAP 6 to shutdown.
5.1.5. Default Log File Locations
Table 5.2. Default Log File for a standalone server
| || |
The Server Log. Contains all server log messages, including server startup messages.
Table 5.3. Default Log Files for a managed domain
| || |
Host Controller boot log. Contains log messages related to the startup of the host controller.
| || |
Process controller boot log. Contains log messages related to the startup of the process controller.
| || |
The server log for the named server. Contains all log messages for that server, including server startup messages.