Network Deployment (Distributed operating systems), v8.0 > Troubleshoot and support > Add logging and tracing to the application > Use Java logging in an application


Configure the logger hierarchy

WAS handlers are attached to the Java root logger, which is at the top of the logger hierarchy. As a result, any request from anywhere in the logger tree can be processed by WAS handlers. We can configure the application server to handle logs in many different ways. Configure your log settings based upon the configuration and the logging structure that best suits your needs.


Procedure


Example

The following example shows how these requirements can be met using the Java logging infrastructure:




Use a logger
Create log resource bundles and message files

+

Search Tips   |   Advanced Search