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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access