Programming with the JRas framework

 

Before you begin

The JRas framework described in this task and its sub-tasks is deprecated. However, one can achieve similar results using Java logging.

 

Overview

Use the JRas extensions to incorporate message logging and diagnostic trace into WAS applications. The JRas extensions are based on the stand-alone JRas logging toolkit.

 

Procedure

  1. Retrieve a reference to the JRas manager.

  2. Retrieve message and trace loggers by using methods on the returned manager.

  3. Call the appropriate methods on the returned message and trace loggers to create message and trace entries, as appropriate.

 

See also


Understanding the JRas facility
JRas Extensions
JRas Messages and Trace event types
Instrumenting an application with JRas extensions