Configuring handlers
Handlers are the core components that deal with logging events. We will go through the handlers that are available on the EAP and how to create new loggers to keep the server logs separate from the application logs.
In the following section, we will first cover the handlers, starting with the default ones provided in the configuration, and then look at how to create custom handler configurations.
Console handler
This handler writes log messages to your operating system's standard output (std out
) or to the standard error (std err
). Console messages are displayed when the application server is executed from the command line. Note that, unless you redirect the console logs on a file, they will not be saved. You can query the console ...
Get Mastering JBoss Enterprise Application Platform 7 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.