WAS v8.5 > Troubleshoot > Add logging and tracing to the application

Programming with the JRas framework

Use the JRas extensions to incorporate message logging and diagnostic trace into WebSphere Application Server applications.

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

The JRas extensions allow message logging and diagnostic trace to work with WAS applications. They are based on the stand-alone JRas logging toolkit.

IBM recommends using the HPEL log and trace infrastructure. With HPEL, one views logs using the LogViewer command-line tool in PROFILE/bin.

  1. Retrieve a reference to the JRas manager.
  2. Retrieve message and trace loggers 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.


Subtopics


+

Search Tips   |   Advanced Search