Use the JRas extensions to incorporate message logging and diagnostic
trace into WebSphere® Application
Server applications.
Before you begin
The JRas framework that is described in this task and its sub-tasks
is deprecated. However, you can achieve similar results using Java™ logging.
About this task
The JRas extensions allow message logging and diagnostic trace to
work with WebSphere Application
Server applications. They are based on the stand-alone JRas logging toolkit.
Procedure
- Retrieve a reference to the JRas manager.
- Retrieve message and trace loggers by using methods on the returned
manager.
- Call the appropriate methods on the returned message and trace
loggers to create message and trace entries, as appropriate.