Programming with the JRas framework
Use the JRas extensions to incorporate message logging and diagnostic trace into WAS applications. The JRas framework that is described in this task and its sub-tasks is deprecated. However, you can achieve similar results using Java logging.
Overview
The JRas extensions allow message logging and diagnostic trace to work with WAS 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.
JRas logging toolkit
JRas Extensions
JRas messages and trace event types
Instrumenting an application with JRas extensions