doc-exports/docs/dws/tool/dws_16_0034.html
Lu, Huayi 27019c2991 DWS TOOL 830.201 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2024-05-16 07:35:25 +00:00

43 lines
5.5 KiB
HTML

<a name="EN-US_TOPIC_0000001819336089"></a><a name="EN-US_TOPIC_0000001819336089"></a>
<h1 class="topictitle1">Perl Migration Logs</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001819336089__en-us_topic_0000001657865250_en-us_topic_0000001432447477_p10824155515918">The DSC writes all log information to a single file, <strong id="EN-US_TOPIC_0000001819336089__en-us_topic_0000001657865250_en-us_topic_0000001432447477_b28381783131749">perlDSC.log</strong>.</p>
<div class="note" id="EN-US_TOPIC_0000001819336089__en-us_topic_0000001657865250_en-us_topic_0000001432447477_note849575152914"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001819336089__en-us_topic_0000001657865250_en-us_topic_0000001432447477_p123023721016">Since the DSC will execute the SQL to migrate the SQL scripts inside Perl files, the following <a href="dws_16_0033.html#EN-US_TOPIC_0000001819416117">SQL migration logs</a> are also supported:</p>
<ul id="EN-US_TOPIC_0000001819336089__en-us_topic_0000001657865250_en-us_topic_0000001432447477_ul29081690114755"><li id="EN-US_TOPIC_0000001819336089__en-us_topic_0000001657865250_en-us_topic_0000001432447477_li31863817114755">Activity Logging</li><li id="EN-US_TOPIC_0000001819336089__en-us_topic_0000001657865250_en-us_topic_0000001432447477_li14398345114755">Error Logging</li><li id="EN-US_TOPIC_0000001819336089__en-us_topic_0000001657865250_en-us_topic_0000001432447477_li5764158134316">successRead</li><li id="EN-US_TOPIC_0000001819336089__en-us_topic_0000001657865250_en-us_topic_0000001432447477_li1874621413438">successWrite</li></ul>
</div></div>
<div class="section" id="EN-US_TOPIC_0000001819336089__en-us_topic_0000001657865250_en-us_topic_0000001432447477_section1219425012317"><h4 class="sectiontitle">Logging Levels</h4><p id="EN-US_TOPIC_0000001819336089__en-us_topic_0000001657865250_en-us_topic_0000001432447477_p27914154133">The logging level for Perl Migration logs is configured using the <strong id="EN-US_TOPIC_0000001819336089__en-us_topic_0000001657865250_en-us_topic_0000001432447477_b56577583018">logging-level</strong> parameter.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001819336089__en-us_topic_0000001657865250_en-us_topic_0000001432447477_section39149842114827"><h4 class="sectiontitle">Logging</h4><p id="EN-US_TOPIC_0000001819336089__en-us_topic_0000001657865250_en-us_topic_0000001432447477_p76711917157">DSC saves all logs, warnings and error information to <strong id="EN-US_TOPIC_0000001819336089__en-us_topic_0000001657865250_en-us_topic_0000001432447477_b157925786431749">perlDSC.log</strong>. This file is available in the <strong id="EN-US_TOPIC_0000001819336089__en-us_topic_0000001657865250_en-us_topic_0000001432447477_b34767219031749">log</strong> 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_0000001819336089__en-us_topic_0000001657865250_en-us_topic_0000001432447477_p60400933165330">The structure of the <strong id="EN-US_TOPIC_0000001819336089__en-us_topic_0000001657865250_en-us_topic_0000001432447477_b204064405731749">perlDSC.log</strong> file is as follows:</p>
</div>
<pre class="screen" id="EN-US_TOPIC_0000001819336089__en-us_topic_0000001657865250_en-us_topic_0000001432447477_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_16_0032.html">Log Reference</a></div>
</div>
</div>