forked from docs/doc-exports
Reviewed-by: Kacur, Michal <michal.kacur@t-systems.com> Co-authored-by: Yang, Tong <yangtong2@huawei.com> Co-committed-by: Yang, Tong <yangtong2@huawei.com>
200 lines
18 KiB
HTML
200 lines
18 KiB
HTML
<a name="mrs_01_24129"></a><a name="mrs_01_24129"></a>
|
|
|
|
<h1 class="topictitle1">CDL Log Overview</h1>
|
|
<div id="body0000001532631108"><div class="section" id="mrs_01_24129__section11657636191117"><h4 class="sectiontitle">Log Description</h4><p id="mrs_01_24129__p127031781334"><strong id="mrs_01_24129__b1999818590107">Log path</strong>: The default log storage path of CDL is <strong id="mrs_01_24129__b75477118115">/var/log/Bigdata/cdl/</strong><em id="mrs_01_24129__i1622921141111">Role name abbreviation</em>.</p>
|
|
<ul id="mrs_01_24129__en-us_topic_0046736733_ul61272867"><li id="mrs_01_24129__en-us_topic_0046736733_li14584895">CDLService: <strong id="mrs_01_24129__b1426916181211">/var/log/Bigdata/cdl/service</strong> (run logs) and <strong id="mrs_01_24129__b1194010919126">/var/log/Bigdata/audit/cdl/service</strong> (audit logs).</li><li id="mrs_01_24129__en-us_topic_0046736733_li64155199">CDLConnector: <strong id="mrs_01_24129__b1082852218129">/var/log/Bigdata/cdl/connector</strong> (run logs).</li></ul>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_01_24129__table12890126152010" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Log list</caption><thead align="left"><tr id="mrs_01_24129__row6890206132016"><th align="left" class="cellrowborder" valign="top" width="12.55125512551255%" id="mcps1.3.2.2.4.1.1"><p id="mrs_01_24129__p118902652013">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="28.992899289928992%" id="mcps1.3.2.2.4.1.2"><p id="mrs_01_24129__p1889018610204">File</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="58.45584558455845%" id="mcps1.3.2.2.4.1.3"><p id="mrs_01_24129__p489013616208">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_01_24129__row58901602010"><td class="cellrowborder" rowspan="18" valign="top" width="12.55125512551255%" headers="mcps1.3.2.2.4.1.1 "><p id="mrs_01_24129__p1189096192011">Run logs</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.992899289928992%" headers="mcps1.3.2.2.4.1.2 "><p id="mrs_01_24129__p489014672019">connect.log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.45584558455845%" headers="mcps1.3.2.2.4.1.3 "><p id="mrs_01_24129__p14890160207">CDLConnector run log.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_24129__row103751536142114"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.1 "><p id="mrs_01_24129__p18375183642114">prestartDetail.log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.2 "><p id="mrs_01_24129__p63751136172118">Log that records cluster initialization before service startup.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_24129__row750494018210"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.1 "><p id="mrs_01_24129__p75041840182112">startDetail.log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.2 "><p id="mrs_01_24129__p3504440142110">Service startup log.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_24129__row1575718616187"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.1 "><p id="mrs_01_24129__p1975720610189">stopDetail.log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.2 "><p id="mrs_01_24129__p475717631816">Service stop log.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_24129__row281461041811"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.1 "><p id="mrs_01_24129__p1981471011815">cleanupDetail.log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.2 "><p id="mrs_01_24129__p198141810201810">Log that records the cleanup execution of services.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_24129__row129391743152112"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.1 "><p id="mrs_01_24129__p1939154311219">check-serviceDetail.log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.2 "><p id="mrs_01_24129__p0940104315219">Log that records the verification of service status after service installation.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_24129__row157671395123"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.1 "><p id="mrs_01_24129__p076853917127">cdl-db-operation.log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.2 "><p id="mrs_01_24129__p11768183941211">Log that records database initialization during service startup.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_24129__row787372017139"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.1 "><p id="mrs_01_24129__p1787318201134">cdl-app-launcher.log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.2 "><p id="mrs_01_24129__p1887352041317">Spark application startup log of CDL data synchronization tasks.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_24129__row106820578594"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.1 "><p id="mrs_01_24129__p36912577598">cdl-dc-app-launcher.log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.2 "><p id="mrs_01_24129__p76925775911">Spark application startup log of CDL data comparison tasks.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_24129__row512213351414"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.1 "><p id="mrs_01_24129__p181235352042">serviceInstanceCheck.log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.2 "><p id="mrs_01_24129__p131231735946">Instance check log of CDLService.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_24129__row1328213514514"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.1 "><p id="mrs_01_24129__p192821951252">connectorInstanceCheck.log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.2 "><p id="mrs_01_24129__p32824515510">Instance check log of CDLConnector.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_24129__row1668994661318"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.1 "><p id="mrs_01_24129__p20689134612134">ModifyDBPasswd.log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.2 "><p id="mrs_01_24129__p56898463132">Log that records the resetting of the service database password.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_24129__row103519591135"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.1 "><p id="mrs_01_24129__p235115593134">ranger-cdl-plugin-enable.log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.2 "><p id="mrs_01_24129__p33511159201310">Log that records the enabling or disabling of Ranger authentication.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_24129__row1929153112811"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.1 "><p id="mrs_01_24129__p122943172816">postinstallDetail.log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.2 "><p id="mrs_01_24129__p1329143142816">Service installation log.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_24129__row560175619454"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.1 "><p id="mrs_01_24129__p14601556204514">cdl_connector_pidxxx_gc.log.x</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.2 "><p id="mrs_01_24129__p3601256144512">CDLConnector garbage collection (GC) log.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_24129__row5835059144718"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.1 "><p id="mrs_01_24129__p17836155917479">cdl_service_pidxxx_gc.log.x</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.2 "><p id="mrs_01_24129__p1683665912479">CDLService GC log.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_24129__row78803411211"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.1 "><p id="mrs_01_24129__p188112419217">threadDump-CDLConnector-xxx.log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.2 "><p id="mrs_01_24129__p1188112419215">CDLConnector stack log.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_24129__row4603447152115"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.1 "><p id="mrs_01_24129__p1360419476216">threadDump-CDLService-xxx.log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.4.1.2 "><p id="mrs_01_24129__p176043477215">CDLService stack log.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_24129__row88907642016"><td class="cellrowborder" valign="top" width="12.55125512551255%" headers="mcps1.3.2.2.4.1.1 "><p id="mrs_01_24129__p689016617209">Audit log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="28.992899289928992%" headers="mcps1.3.2.2.4.1.2 "><p id="mrs_01_24129__p1389015622014">cdl-audit.log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.45584558455845%" headers="mcps1.3.2.2.4.1.3 "><p id="mrs_01_24129__p289026122018">Service audit log.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="section" id="mrs_01_24129__section18816131115355"><h4 class="sectiontitle">Log Level</h4><p id="mrs_01_24129__en-us_topic_0046736730_p60201314"><a href="#mrs_01_24129__tc09b739e3eb34797a6da936a37654e97">Table 2</a> describes the log levels supported by CDL.</p>
|
|
<p id="mrs_01_24129__en-us_topic_0046736730_p44468229">Levels of run logs are FATAL, ERROR, WARN, INFO, and DEBUG from the highest to the lowest priority. Run logs of equal or higher levels are recorded. The higher the specified log level, the fewer the logs recorded.</p>
|
|
|
|
<div class="tablenoborder"><a name="mrs_01_24129__tc09b739e3eb34797a6da936a37654e97"></a><a name="tc09b739e3eb34797a6da936a37654e97"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_01_24129__tc09b739e3eb34797a6da936a37654e97" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Log levels</caption><thead align="left"><tr id="mrs_01_24129__en-us_topic_0046736730_row63443418"><th align="left" class="cellrowborder" valign="top" width="33.333333333333336%" id="mcps1.3.3.4.2.4.1.1"><p id="mrs_01_24129__en-us_topic_0046736730_p38643240"><strong id="mrs_01_24129__b0766172271">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.333333333333336%" id="mcps1.3.3.4.2.4.1.2"><p id="mrs_01_24129__en-us_topic_0046736730_p52308663"><strong id="mrs_01_24129__en-us_topic_0046736730_b1015919">Level</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.333333333333336%" id="mcps1.3.3.4.2.4.1.3"><p id="mrs_01_24129__en-us_topic_0046736730_p15180599"><strong id="mrs_01_24129__en-us_topic_0046736730_b2407664">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_01_24129__row1114618282716"><td class="cellrowborder" rowspan="5" valign="top" width="33.333333333333336%" headers="mcps1.3.3.4.2.4.1.1 "><p id="mrs_01_24129__p151472242717"></p>
|
|
<p id="mrs_01_24129__p4240192119486">Run log and audit log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.333333333333336%" headers="mcps1.3.3.4.2.4.1.2 "><p id="mrs_01_24129__p131473213279">FATAL</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.333333333333336%" headers="mcps1.3.3.4.2.4.1.3 "><p id="mrs_01_24129__p141475215273">Logs of this level record fatal information about system.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_24129__row9239421124812"><td class="cellrowborder" valign="top" headers="mcps1.3.3.4.2.4.1.1 "><p id="mrs_01_24129__p19240021134811">ERROR</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.4.2.4.1.2 "><p id="mrs_01_24129__p11240142113485">Logs of this level record error information about system running.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_24129__en-us_topic_0046736730_row60803124"><td class="cellrowborder" valign="top" headers="mcps1.3.3.4.2.4.1.1 "><p id="mrs_01_24129__en-us_topic_0046736730_p34212241">WARN</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.4.2.4.1.2 "><p id="mrs_01_24129__p85517215020">Logs of this level record exception information about the current event processing.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_24129__en-us_topic_0046736730_row49528960"><td class="cellrowborder" valign="top" headers="mcps1.3.3.4.2.4.1.1 "><p id="mrs_01_24129__en-us_topic_0046736730_p52422860">INFO</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.4.2.4.1.2 "><p id="mrs_01_24129__en-us_topic_0046736730_p18393235">Logs of this level record normal running status information about the system and events.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_24129__en-us_topic_0046736730_row31321393"><td class="cellrowborder" valign="top" headers="mcps1.3.3.4.2.4.1.1 "><p id="mrs_01_24129__en-us_topic_0046736730_p54004927">DEBUG</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.4.2.4.1.2 "><p id="mrs_01_24129__en-us_topic_0046736730_p12322941">Logs of this level record system running and debugging information.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="mrs_01_24129__en-us_topic_0046736733_p66684983">To modify log levels, perform the following operations:</p>
|
|
<ol id="mrs_01_24129__ol2049469418545"><li id="mrs_01_24129__li4027424618545"><span>Go to the <strong id="mrs_01_24129__b1213514494298">All Configurations</strong> page of CDL. For details, see <a href="mrs_01_1293.html">Modifying Cluster Service Configuration Parameters</a>.</span></li><li id="mrs_01_24129__li2692390118545"><span>On the menu bar on the left, select the log menu of the target role.</span></li><li id="mrs_01_24129__li4098852518545"><span>Select a desired log level.</span></li><li id="mrs_01_24129__li1719026918545"><span>Save the configuration. In the displayed dialog box, click <strong id="mrs_01_24129__b66643353541421">OK</strong> to make the configurations take effect.</span><p><div class="note" id="mrs_01_24129__note3173619118545"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p class="text" id="mrs_01_24129__p3335240518545">The configurations take effect immediately without the need to restart the service.</p>
|
|
</div></div>
|
|
</p></li></ol>
|
|
</div>
|
|
<div class="section" id="mrs_01_24129__section2421948202410"><h4 class="sectiontitle">Log Format</h4><p id="mrs_01_24129__en-us_topic_0046736733_p33054158">The following table lists the CDL log formats:</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_01_24129__en-us_topic_0046736733_table29051967" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Log formats</caption><thead align="left"><tr id="mrs_01_24129__en-us_topic_0046736733_row53756949"><th align="left" class="cellrowborder" valign="top" width="33.333333333333336%" id="mcps1.3.4.3.2.4.1.1"><p id="mrs_01_24129__en-us_topic_0046736733_p59345638">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.29332933293329%" id="mcps1.3.4.3.2.4.1.2"><p id="mrs_01_24129__en-us_topic_0046736733_p42267412">Format</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.373337333733375%" id="mcps1.3.4.3.2.4.1.3"><p id="mrs_01_24129__en-us_topic_0046736733_p1108358">Example</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_01_24129__en-us_topic_0046736733_row22668197"><td class="cellrowborder" valign="top" width="33.333333333333336%" headers="mcps1.3.4.3.2.4.1.1 "><p id="mrs_01_24129__en-us_topic_0046736733_p24184664">Run log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.29332933293329%" headers="mcps1.3.4.3.2.4.1.2 "><p id="mrs_01_24129__en-us_topic_0046736733_p12800776"><<em id="mrs_01_24129__i1864183363112">yyyy-MM-dd HH:mm:ss,SSS</em>>|<<em id="mrs_01_24129__i87143383110">Log level</em>>|<<em id="mrs_01_24129__i871193353111">Name of the thread that generates the log</em>>|<<em id="mrs_01_24129__i9725336317">Message in the log</em>>|<<em id="mrs_01_24129__i47213332317">Location where the log event occurs</em>></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.373337333733375%" headers="mcps1.3.4.3.2.4.1.3 "><p id="mrs_01_24129__p3498142016293">2021-06-15 17:25:19,658 | DEBUG | qtp2009591182-1754 | >fill SslConnection@5d04c5a0::SocketChannelEndPoint@7c011c24{l=/10.244.224.65:21495,r=/10.244.224.83:53724,OPEN,fill=-,flush=-,to=1/30000}{io=0/0,kio=0,kro=1}->SslConnection@5d04c5a0{NOT_HANDSHAKING,eio=-1/-1,di=-1,fill=IDLE,flush=IDLE}~>DecryptedEndPoint@771f2f77{l=/10.244.224.65:21495,r=/10.244.224.83:53724,OPEN,fill=-,flush=-,to=19398/30000}=>HttpConnection@68c5859b[p=HttpParser{s=CONTENT,0 of -1},g=HttpGenerator@536e2de0{s=END}]=>HttpChannelOverHttp@7bf252bd{s=HttpChannelState@38be31e{s=IDLE rs=COMPLETED os=COMPLETED is=IDLE awp=false se=false i=false al=0},r=1,c=true/true,a=IDLE,uri=https://10.244.224.65:21495/api/v1/cdl/monitor/jobs/metrics,age=19382} | SslConnection.java:614</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_24129__en-us_topic_0046736733_row3633791"><td class="cellrowborder" valign="top" width="33.333333333333336%" headers="mcps1.3.4.3.2.4.1.1 "><p id="mrs_01_24129__en-us_topic_0046736733_p25901669">Audit log</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.29332933293329%" headers="mcps1.3.4.3.2.4.1.2 "><p id="mrs_01_24129__en-us_topic_0046736733_p17660451"><<em id="mrs_01_24129__i165813040341421">yyyy-MM-dd HH:mm:ss,SSS</em>>|<<em id="mrs_01_24129__i61528381941421">Log level</em>>|<<em id="mrs_01_24129__i144476055441421">Name of the thread that generates the log</em>>|<<em id="mrs_01_24129__i3464045441421">Message in the log</em>>|<<em id="mrs_01_24129__i122370046441421">Location where the log event occurs</em>></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.373337333733375%" headers="mcps1.3.4.3.2.4.1.3 "><p id="mrs_01_24129__en-us_topic_0046736733_p21210466">2021-06-15 11:07:00,262 | INFO | qtp1846345504-30 | STARTTIME=2021-06-15 11:06:47.912 ENDTIME=2021-06-15 11:07:00.261 USERIP=10.144.116.198 USER=CDL User INSTANCE=10-244-224-65 OPERATION=Start CDL Job TARGET=CDCJobExecutionResource RESULT=SUCCESS | CDCAuditLogger.java:93</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_24123.html">Using CDL</a></div>
|
|
</div>
|
|
</div>
|
|
|