ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzatz_5.4.0.1/51/trb/trbjvminterp.htm

102 lines
4.5 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<!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>Interpret the contents for the Java virtual machine log files</title>
</head>
<BODY>
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h5><a name="trbjvminterp"></a><strong>Interpret the contents for the Java virtual
machine log files</strong></h5>
<p>The Java virtual machine (JVM) writes data to the logs using two different
formats, Basic and Advanced format. The Basic and Advanced formats use the
same fields and formatting techniques with the exception that Advanced format
adds information about events when possible.</p>
<p><strong>Basic and Advanced format fields</strong></p>
<dl>
<dt><strong>TimeStamp</strong></dt>
<dd>The timestamp is formatted using the locale of the process where it is
formatted. It includes a fully qualified date (for example, YYMMDD), 24 hour
time with millisecond precision and a time zone.</dd>
</dl>
<dl>
<dt><strong>ThreadID</strong></dt>
<dd>An 8 character hexadecimal value generated from the hash code of the thread
that issued the message.</dd>
</dl>
<dl>
<dt><strong>ShortName</strong></dt>
<dd>The abbreviated name of the logging component that issued the message or
trace event. This is typically the class name for application server internal
components, but may be some other identifier for user applications.</dd>
</dl>
<dl>
<dt><strong>LongName</strong></dt>
<dd>The full name of the logging component that issued the message or trace
event. This is typically the fully qualified class name for application server
internal components, but may be some other identifier for user applications.</dd>
</dl>
<dl>
<dt><strong>EventType</strong></dt>
<dd>A one character field that indicates the type of the message or trace event.
Message types are in upper case. Possible values include:
<ul>
<li><strong>A</strong> - An audit message.</li>
<li><strong>I</strong> - An informational message.</li>
<li><strong>W</strong> - A Warning message.</li>
<li><strong>E</strong> - An Error message.</li>
<li><strong>F</strong> - A Fatal message.</li>
<li><strong>O</strong> - A message that was written directly to System.out
by the user application or application server internal components.</li>
<li><strong>R</strong> - A message that was written directly to System.err
by the user application or application server internal components.</li>
<li><strong>u</strong> - A specialized message type used by the message
logging component of the application server runtime.</li>
<li><strong>Z</strong> - A placeholder to indicate the type was not recognized.</li>
</ul>
</dd>
</dl>
<dl>
<dt><strong>ClassName</strong></dt>
<dd>The class that issued the message or trace event.</dd>
</dl>
<dl>
<dt><strong>MethodName</strong></dt>
<dd>The method that issued the message or trace event.</dd>
</dl>
<dl>
<dt><strong>Organization</strong></dt>
<dd>The organization that own the application that issued the message or trace
event.</dd>
</dl>
<dl>
<dt><strong>Product</strong></dt>
<dd>The product that issued the message or trace event.</dd>
</dl>
<dl>
<dt><strong>Component</strong></dt>
<dd>The component within the product that issued the message or trace event.</dd>
</dl>
<dl>
<dt><strong>UOW</strong></dt>
<dd>The unit of work identifier for the event. This field is not currently
used.</dd>
</dl>
<p><strong>Basic format</strong></p>
<p>Message events displayed in basic format use this format. The notation &lt;name&gt; indicated
mandatory fields that are always displayed in the Basic format message. The
notation [name] indicates optional or conditional fields that are included
if they can be determined.</p>
<p><em>TimeStamp ThreadID ShortName EventType </em>[ClassName] [MethodName] <em>messages</em></p>
<p><strong>Advanced format</strong></p>
<p>Message events displayed in advanced format use this format. The notation &lt;name&gt; is
used to indicate mandatory fields that are always displayed in the advanced
format for message entries. The notation [name] is used to indicate optional
or conditional fields that are included if they can be determined.</p>
<p><em>TimeStamp ThreadID EventType UOWsource=LongName </em>[ClassName] [methodName <em>OrganizationProductComponentmessage</em></p>
</body>
</html>