doc-exports/docs/aom/umn/aom_02_0010.html
Liu, Siying 5f36decd91 AOM UMN 20230612 version
Reviewed-by: Mützel, Andrea <andrea.muetzel@t-systems.com>
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Liu, Siying <liusiying@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-committed-by: Liu, Siying <liusiying@noreply.gitea.eco.tsi-dev.otc-service.com>
2024-04-12 12:17:20 +00:00

57 lines
7.6 KiB
HTML

<a name="aom_02_0010"></a><a name="aom_02_0010"></a>
<h1 class="topictitle1">Viewing Log Files</h1>
<div id="body32001227"><p id="aom_02_0010__en-us_topic_0263893505_p35972254">You can quickly view log files of component instances to locate faults.</p>
<div class="section" id="aom_02_0010__en-us_topic_0263893505_section12927164685710"><h4 class="sectiontitle">Viewing Log Files</h4><ol id="aom_02_0010__en-us_topic_0263893505_ol28071463"><li id="aom_02_0010__en-us_topic_0263893505_li63002544"><span>In the navigation pane, choose <strong id="aom_02_0010__en-us_topic_0263893505_b842352706164819">Log</strong> &gt; <strong id="aom_02_0010__en-us_topic_0263893505_b842352706164823">Log Files</strong>.</span></li><li id="aom_02_0010__en-us_topic_0263893505_li30151988"><span>On the page that is displayed, click the <strong id="aom_02_0010__en-us_topic_0263893505_b299511334515">Component</strong> or <strong id="aom_02_0010__en-us_topic_0263893505_b6435127194512">Host</strong> tab and click a component or host name. Information such as the log file name and latest written time is displayed in the log file list on the right.</span></li><li id="aom_02_0010__en-us_topic_0263893505_li36200896"><span>Click <strong id="aom_02_0010__en-us_topic_0263893505_b13467112312718">View</strong> in the <strong id="aom_02_0010__en-us_topic_0263893505_b346816239712">Operation</strong> column of the desired instance. <a href="#aom_02_0010__en-us_topic_0263893505_table108124216110">Table 1</a> describes how to view log file details. <a href="#aom_02_0010__en-us_topic_0263893505_fig12644152135813">Figure 1</a> shows log file details.</span><p>
<div class="tablenoborder"><a name="aom_02_0010__en-us_topic_0263893505_table108124216110"></a><a name="en-us_topic_0263893505_table108124216110"></a><table cellpadding="4" cellspacing="0" summary="" id="aom_02_0010__en-us_topic_0263893505_table108124216110" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Operations</caption><thead align="left"><tr id="aom_02_0010__en-us_topic_0263893505_row17444750"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.2.2.3.2.1.2.4.1.1"><p id="aom_02_0010__en-us_topic_0263893505_p3738651">Operation</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.2.2.3.2.1.2.4.1.2"><p id="aom_02_0010__en-us_topic_0263893505_p34395333">Setup</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="70%" id="mcps1.3.2.2.3.2.1.2.4.1.3"><p id="aom_02_0010__en-us_topic_0263893505_p34558579">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="aom_02_0010__en-us_topic_0263893505_row47781518"><td class="cellrowborder" rowspan="2" valign="top" width="15%" headers="mcps1.3.2.2.3.2.1.2.4.1.1 "><p id="aom_02_0010__en-us_topic_0263893505_p45097725">Setting a time range</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.2.2.3.2.1.2.4.1.2 "><p id="aom_02_0010__en-us_topic_0263893505_p29037097">Date</p>
</td>
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.2.2.3.2.1.2.4.1.3 "><p id="aom_02_0010__en-us_topic_0263893505_p217214386243">Click <span><img id="aom_02_0010__en-us_topic_0263893505_image055355132316" src="en-us_image_0000001411431544.png"></span> to select a date.</p>
</td>
</tr>
<tr id="aom_02_0010__en-us_topic_0263893505_row57437397"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.3.2.1.2.4.1.1 "><p id="aom_02_0010__en-us_topic_0263893505_p21917606">Time range</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.3.2.1.2.4.1.2 "><p id="aom_02_0010__en-us_topic_0263893505_p12156456115">Click the desired time on the time axis to set a time range. You can select only one unit (5 minutes) each time.</p>
</td>
</tr>
<tr id="aom_02_0010__en-us_topic_0263893505_row6025849"><td class="cellrowborder" rowspan="2" valign="top" width="15%" headers="mcps1.3.2.2.3.2.1.2.4.1.1 "><p id="aom_02_0010__en-us_topic_0263893505_p18331773">Viewing log files</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.2.2.3.2.1.2.4.1.2 "><p id="aom_02_0010__en-us_topic_0263893505_p8478608">Clear</p>
</td>
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.2.2.3.2.1.2.4.1.3 "><p id="aom_02_0010__en-us_topic_0263893505_p15678685">Click <strong id="aom_02_0010__en-us_topic_0263893505_b1351917413124">Clear</strong> to clear the logs displayed on the screen. Logs displayed on the screen will be cleared, but will not be deleted.</p>
</td>
</tr>
<tr id="aom_02_0010__en-us_topic_0263893505_row6890440"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.3.2.1.2.4.1.1 "><p id="aom_02_0010__en-us_topic_0263893505_p21254748">Viewing real-time logs</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.3.2.1.2.4.1.2 "><p id="aom_02_0010__en-us_topic_0263893505_p1571413710203">The real-time monitoring function is disabled by default. You can click <strong id="aom_02_0010__en-us_topic_0263893505_b161598276124">Enable Real-Time Viewing</strong> as required. After this function is enabled, the latest written logs can be viewed.</p>
<p id="aom_02_0010__en-us_topic_0263893505_p125425218324">The <strong id="aom_02_0010__en-us_topic_0263893505_b12191351111717">exception</strong> in the log records the exceptions that occur during code running. When using logs to locate faults, pay attention to the <strong id="aom_02_0010__en-us_topic_0263893505_b14201551191715">exception</strong>. For real-time log viewing, AOM automatically highlights exception keywords in logs, facilitating fault locating. Such keywords are case-sensitive. For example, <strong id="aom_02_0010__en-us_topic_0263893505_b19843131171317">exception</strong> and <strong id="aom_02_0010__en-us_topic_0263893505_b8844531161313">Exception</strong> are highlighted, but keywords such as <strong id="aom_02_0010__en-us_topic_0263893505_b4844103131311">EXCEPTION</strong>, <strong id="aom_02_0010__en-us_topic_0263893505_b884413313132">exCeption</strong>, and <strong id="aom_02_0010__en-us_topic_0263893505_b384573116136">EXception</strong> are not highlighted.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="fignone" id="aom_02_0010__en-us_topic_0263893505_fig12644152135813"><a name="aom_02_0010__en-us_topic_0263893505_fig12644152135813"></a><a name="en-us_topic_0263893505_fig12644152135813"></a><span class="figcap"><b>Figure 1 </b>Log file details</span><br><span><img id="aom_02_0010__en-us_topic_0263893505_image126445524587" src="en-us_image_0000001461631457.png" width="523.6875" height="217.495166"></span></div>
</p></li></ol>
</div>
<p id="aom_02_0010__en-us_topic_0263893505_p17741154218503"></p>
<div class="section" id="aom_02_0010__en-us_topic_0263893505_en-us_topic_0169698346_section0650147205514"><h4 class="sectiontitle">Log File Description</h4><p id="aom_02_0010__en-us_topic_0263893505_p264721163614">The time information contained in a log file, if any, is automatically displayed, as shown in the red box in <a href="#aom_02_0010__en-us_topic_0263893505_fig1840281674012">Figure 2</a>. This time information is irrelevant to the time range that you set.</p>
<div class="fignone" id="aom_02_0010__en-us_topic_0263893505_fig1840281674012"><a name="aom_02_0010__en-us_topic_0263893505_fig1840281674012"></a><a name="en-us_topic_0263893505_fig1840281674012"></a><span class="figcap"><b>Figure 2 </b>Viewing log files</span><br><span><img id="aom_02_0010__en-us_topic_0263893505_image8671413124013" src="en-us_image_0000001561946430.png" width="523.6875" height="294.804475"></span></div>
<p id="aom_02_0010__en-us_topic_0263893505_p168741487358"></p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="aom_02_0054.html">Log Management</a></div>
</div>
</div>