doc-exports/docs/dws/tool/dws_mt_0190.html
Lu, Huayi 346ac31da9 DWS TG 8.1.3.200 VERSION
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Reviewed-by: Jiang, Beibei <beibei.jiang@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2023-08-28 09:20:17 +00:00

43 lines
4.9 KiB
HTML

<a name="EN-US_TOPIC_0000001233800655"></a><a name="EN-US_TOPIC_0000001233800655"></a>
<h1 class="topictitle1">Perl Migration Logs</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001233800655__en-us_topic_0218440628_p10824155515918">The DSC writes all log information to a single file, <strong id="EN-US_TOPIC_0000001233800655__en-us_topic_0237712460_b1382317237195">perlDSC.log</strong>.</p>
<div class="note" id="EN-US_TOPIC_0000001233800655__en-us_topic_0218440628_note849575152914"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001233800655__en-us_topic_0218440628_p123023721016">Since the DSC will execute the SQL to migrate the SQL scripts inside Perl files, the following <a href="dws_mt_0189.html">SQL migration logs</a> are also supported:</p>
<ul id="EN-US_TOPIC_0000001233800655__en-us_topic_0218440628_ul29081690114755"><li id="EN-US_TOPIC_0000001233800655__en-us_topic_0218440628_li31863817114755">Activity Logging</li><li id="EN-US_TOPIC_0000001233800655__en-us_topic_0218440628_li14398345114755">Error Logging</li><li id="EN-US_TOPIC_0000001233800655__en-us_topic_0218440628_li5764158134316">successRead</li><li id="EN-US_TOPIC_0000001233800655__en-us_topic_0218440628_li1874621413438">successWrite</li></ul>
</div></div>
<div class="section" id="EN-US_TOPIC_0000001233800655__en-us_topic_0218440628_section1219425012317"><h4 class="sectiontitle">Logging Levels</h4><p id="EN-US_TOPIC_0000001233800655__en-us_topic_0218440628_p27914154133">The logging level for Perl Migration logs is configured using the <a href="dws_mt_0029.html#EN-US_TOPIC_0000001188202574__en-us_topic_0218440394_li0844101162312">logging-level</a> configuration parameter.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001233800655__en-us_topic_0218440628_section39149842114827"><h4 class="sectiontitle">Logging</h4><p id="EN-US_TOPIC_0000001233800655__en-us_topic_0218440628_p76711917157">The DSC saves all log, warnings and error information to <strong id="EN-US_TOPIC_0000001233800655__en-us_topic_0237712460_b4235233201911">perlDSC.log</strong>. This file is available in the <strong id="EN-US_TOPIC_0000001233800655__en-us_topic_0237712460_b17414173851911">log</strong><em id="EN-US_TOPIC_0000001233800655__en-us_topic_0237712460_i11786143761917"> </em>folder. The log file consists of details such as user who executed the migration and files that have been migrated along with the timestamp.</p>
<p id="EN-US_TOPIC_0000001233800655__en-us_topic_0218440628_p60400933165330">The structure of the <strong id="EN-US_TOPIC_0000001233800655__en-us_topic_0237712460_b1993243161916">perlDSC.log</strong> file is as follows:</p>
</div>
<pre class="screen" id="EN-US_TOPIC_0000001233800655__en-us_topic_0218440628_screen53404064143614">2018-07-08 13:35:10 INFO teradatacore.pm:1316 Extracting SQL contents from perl files started
2018-07-08 13:35:10 INFO teradatacore.pm:1329 Extracting SQL contents from perl files completed
2018-07-08 13:35:10 INFO teradatacore.pm:1331 Migrating SQL files
2018-07-08 13:35:12 INFO teradatacore.pm:1348 Migrating SQL files completed
2018-07-08 13:35:12 INFO teradatacore.pm:1349 Merging migrated SQL contents to perl files started
2018-07-08 13:35:12 INFO teradatacore.pm:1362 Merging migrated SQL contents to perl files completed
2018-07-08 13:35:12 INFO teradatacore.pm:1364 Perl file migration completed
2018-07-08 13:35:32 INFO teradatacore.pm:1316 Extracting SQL contents from perl files started
2018-07-08 13:35:58 ERROR teradatacore.pm:426 opendir ../../../../../perltest/ failed
2018-07-08 13:36:17 INFO teradatacore.pm:1316 Extracting SQL contents from perl files started
2018-07-08 13:38:21 INFO teradatacore.pm:1329 Extracting SQL contents from perl files completed
2018-07-08 13:38:21 INFO teradatacore.pm:1331 Migrating SQL files
2018-07-08 13:38:22 INFO teradatacore.pm:1348 Migrating SQL files completed
2018-07-08 13:38:22 INFO teradatacore.pm:1349 Merging migrated SQL contents to perl files started
2018-07-08 13:38:37 ERROR teradatacore.pm:1044 Directory ../../../../../perltest/ should have 700, but has 0 permission
2018-07-08 13:38:53 ERROR teradatacore.pm:1241 Another migration process is running on same folder, re-execute after the process has completed
2018-07-08 13:39:01 INFO teradatacore.pm:1316 Extracting SQL contents from perl files started
2018-07-08 13:39:51 INFO teradatacore.pm:1329 Extracting SQL contents from perl files completed
2018-07-08 13:39:51 INFO teradatacore.pm:1331 Migrating SQL files
2018-07-08 13:39:53 INFO teradatacore.pm:1348 Migrating SQL files completed
2018-07-08 13:39:54 INFO teradatacore.pm:1349 Merging migrated SQL contents to perl files started
2018-07-08 13:39:55 INFO teradatacore.pm:1362 Merging migrated SQL contents to perl files completed
2018-07-08 13:39:57 INFO teradatacore.pm:1364 Perl file migration completed</pre>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_mt_0187.html">Log Reference</a></div>
</div>
</div>