53 lines
2.6 KiB
HTML
53 lines
2.6 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<LINK rel="stylesheet" type="text/css" href="../../../rzahg/ic.css">
|
|
|
|
<title>Add logging and tracing to your application</title>
|
|
</head>
|
|
|
|
<BODY>
|
|
<!-- Java sync-link -->
|
|
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
|
|
|
|
<h3><a name="jras"></a>Add logging and tracing to your application</h3>
|
|
|
|
|
|
<p>Designers and developers of applications that run with or under WebSphere Application Server - Express, such as servlets and JSP files, and their supporting classes, may find it useful to use the same facility for generating messages that WebSphere Application Server - Express itself uses, JRas.</p>
|
|
|
|
<p>This approach has advantages over simply adding System.out.println() statements to your code:</p>
|
|
|
|
<ul>
|
|
<li>Your messages appear in the WebSphere Application Server - Express standard message format with additional data, such as a date and time stamp, added automatically.</li>
|
|
<li>You can more easily correlate problems and events in your own application to problems and events associated with WebSphere Application Server - Express components.</li>
|
|
<li>You can take advantage of the WebSphere Application Server - Express log file management features.</li>
|
|
<!--<li>You can view your messages with the WebSphere Application Server - Express user-friendly Log Analyzer tool.</li>-->
|
|
</ul>
|
|
|
|
<p>See the following topics for more information about the JRas facility:</p>
|
|
|
|
<blockquote>
|
|
|
|
<p><strong><a href="jrasum.htm">Programming model summary</a></strong>
|
|
<br>This topic provides a summary of the JRas programming model and formalizes usage requirements and restrictions.</p>
|
|
|
|
<p><strong><a href="jrasfac.htm">Overview of JRas</a></strong>
|
|
<br>This topic describes message logging and diagnostic trace and explains some basic JRas concepts.</p>
|
|
|
|
<p><strong><a href="jrasprg.htm">Program with the JRas framework</a></strong>
|
|
<br>This topic describes how to use the JRas extensions to incorporate message logging and diagnostic trace into WebSphere Application Server - Express applications.</p>
|
|
|
|
<p><strong><a href="jrasxtf.htm">Extending the JRas framework</a></strong>
|
|
<br>This topic defines the various extension points have been defined to JRas extension classes.</p>
|
|
|
|
<p><strong><a href="jrasmsgt.htm">JRas messages and trace event types</a></strong>
|
|
<br>This topic describes JRas message and trace event types and their associated parameters.</p>
|
|
|
|
</blockquote>
|
|
|
|
|
|
|
|
</body>
|
|
</html>
|