forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Lai, Weijian <laiweijian4@huawei.com> Co-committed-by: Lai, Weijian <laiweijian4@huawei.com>
28 lines
6.4 KiB
HTML
28 lines
6.4 KiB
HTML
<a name="EN-US_TOPIC_0000002079176557"></a><a name="EN-US_TOPIC_0000002079176557"></a>
|
|
|
|
<h1 class="topictitle1">Viewing Training Job Logs</h1>
|
|
<div id="body0000001300904506"><p id="EN-US_TOPIC_0000002079176557__en-us_topic_0000001205728145_p2331164152611">On the training job details page, you can preview logs, download logs, search for logs by keyword, and filter system logs in the log pane.</p>
|
|
<ul id="EN-US_TOPIC_0000002079176557__en-us_topic_0000001205728145_ul76873541295"><li id="EN-US_TOPIC_0000002079176557__en-us_topic_0000001205728145_li10687115482914">Previewing logs<p id="EN-US_TOPIC_0000002079176557__en-us_topic_0000001205728145_p1946420410"><a name="EN-US_TOPIC_0000002079176557__en-us_topic_0000001205728145_li10687115482914"></a><a name="en-us_topic_0000001205728145_li10687115482914"></a>You can preview logs of each compute node, if multiple compute nodes are used, in the training log pane by choosing the target node from the drop-down list on the right.</p>
|
|
<p id="EN-US_TOPIC_0000002079176557__en-us_topic_0000001205728145_p1459131812484">If a log file is oversized, the system displays only the latest logs in the log pane. To view all logs, click the link in the upper part of the log pane, which will direct you to a new page. </p>
|
|
<div class="fignone" id="EN-US_TOPIC_0000002079176557__en-us_topic_0000001205728145_fig11501919823"><span class="figcap"><b>Figure 1 </b>Viewing all logs</span><br><span><img id="EN-US_TOPIC_0000002079176557__image205291937951" src="figure/en-us_image_0000002043019084.png"></span></div>
|
|
<p id="EN-US_TOPIC_0000002079176557__en-us_topic_0000001205728145_p121951340153411"></p>
|
|
<div class="note" id="EN-US_TOPIC_0000002079176557__en-us_topic_0000001205728145_note999772913307"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000002079176557__en-us_topic_0000001205728145_ul353493445010"><li id="EN-US_TOPIC_0000002079176557__en-us_topic_0000001205728145_li11534103419502">If the total size of all logs exceeds 500 MB, the log page may be frozen. In this case, download the logs to view them locally.</li><li id="EN-US_TOPIC_0000002079176557__en-us_topic_0000001205728145_li2010638175015">A log preview link can be accessed by anyone within one hour after it is generated. You can share the link with others.<p id="EN-US_TOPIC_0000002079176557__en-us_topic_0000001205728145_p1776917579509"><a name="EN-US_TOPIC_0000002079176557__en-us_topic_0000001205728145_li2010638175015"></a><a name="en-us_topic_0000001205728145_li2010638175015"></a>Ensure that no privacy information is contained in the logs. Otherwise, information leakage may occur.</p>
|
|
</li></ul>
|
|
</div></div>
|
|
</li><li id="EN-US_TOPIC_0000002079176557__en-us_topic_0000001205728145_li73391356162915">Downloading logs<p id="EN-US_TOPIC_0000002079176557__en-us_topic_0000001205728145_p15729119200"><a name="EN-US_TOPIC_0000002079176557__en-us_topic_0000001205728145_li73391356162915"></a><a name="en-us_topic_0000001205728145_li73391356162915"></a>Training logs are retained for only 30 days. To permanently store logs, click the download icon in the upper right corner of the log pane. You can download the logs of multiple compute nodes in a batch. You can also enable <strong id="EN-US_TOPIC_0000002079176557__b029262093612">Persistent Log Saving</strong> and set a log path when you create a training job. In this way, the logs will be automatically stored in the specified OBS path.</p>
|
|
<p id="EN-US_TOPIC_0000002079176557__en-us_topic_0000001205728145_p145422305434">If a training job is created on an Ascend compute node, certain system logs cannot be downloaded in the training log pane. To obtain these logs, go to the <strong id="EN-US_TOPIC_0000002079176557__b922744173610">Job Log Path</strong> you set when you created the training job.</p>
|
|
<div class="fignone" id="EN-US_TOPIC_0000002079176557__en-us_topic_0000001205728145_fig332022118594"><span class="figcap"><b>Figure 2 </b>Downloading logs</span><br><span><img id="EN-US_TOPIC_0000002079176557__image1755414537510" src="figure/en-us_image_0000002079176705.png"></span></div>
|
|
</li><li id="EN-US_TOPIC_0000002079176557__en-us_topic_0000001205728145_li986885916290">Searching for logs by keyword<p id="EN-US_TOPIC_0000002079176557__en-us_topic_0000001205728145_p1779102414251"><a name="EN-US_TOPIC_0000002079176557__en-us_topic_0000001205728145_li986885916290"></a><a name="en-us_topic_0000001205728145_li986885916290"></a>In the upper right corner of the log pane, enter a keyword in the search box to search for logs, as shown in <a href="#EN-US_TOPIC_0000002079176557__en-us_topic_0000001205728145_fig1676414594594">Figure 3</a>.</p>
|
|
<div class="fignone" id="EN-US_TOPIC_0000002079176557__en-us_topic_0000001205728145_fig1676414594594"><a name="EN-US_TOPIC_0000002079176557__en-us_topic_0000001205728145_fig1676414594594"></a><a name="en-us_topic_0000001205728145_fig1676414594594"></a><span class="figcap"><b>Figure 3 </b>Searching for logs by keyword</span><br><span><img id="EN-US_TOPIC_0000002079176557__image45975916510" src="figure/en-us_image_0000002043177376.png"></span></div>
|
|
<p id="EN-US_TOPIC_0000002079176557__p87046120101">The system will highlight the keyword and redirect you between search results. Only the logs loaded in the log pane can be searched for. If the logs are not fully displayed (see the message displayed on the page), obtain all the logs by downloading them or clicking the full log link and then search for the logs. On the page redirected by the full log link, press <strong id="EN-US_TOPIC_0000002079176557__b4662153511400">Ctrl+F</strong> to search for logs.</p>
|
|
</li><li id="EN-US_TOPIC_0000002079176557__li099861914015">Filtering system logs<div class="fignone" id="EN-US_TOPIC_0000002079176557__fig154434344429"><span class="figcap"><b>Figure 4 </b>System logs</span><br><span><img id="EN-US_TOPIC_0000002079176557__image196636820610" src="figure/en-us_image_0000002043177424.png"></span></div>
|
|
<p id="EN-US_TOPIC_0000002079176557__p2690746204217">If <strong id="EN-US_TOPIC_0000002079176557__b3131425181618">System logs</strong> is selected, system logs and user logs are displayed. If <strong id="EN-US_TOPIC_0000002079176557__b3419153815165">System logs</strong> is deselected, only user logs are displayed.</p>
|
|
</li></ul>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="develop-modelarts-0010.html">Performing a Training</a></div>
|
|
</div>
|
|
</div>
|
|
|