<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10pt" ><div dir="ltr" >Hi Thu Nguyen,</div>
<div dir="ltr" > </div>
<div dir="ltr" >Below link may help you to get more detailed log which you are referring.</div>
<div dir="ltr" ><a href="https://github.com/openbmc/openbmc/wiki/Debugging-OpenBMC#journalctl" >https://github.com/openbmc/openbmc/wiki/Debugging-OpenBMC#journalctl</a></div>
<div dir="ltr" > </div>
<div dir="ltr" >For example:</div>
<div dir="ltr" >journalctl -o json-pretty MESSAGE="watchdog: Timed out"</div>
<div dir="ltr" > </div>
<div dir="ltr" >Regards,</div>
<div dir="ltr" >Ramesh</div>
<blockquote data-history-content-modified="1" data-history-expanded="1" dir="ltr" style="border-left:solid #aaaaaa 2px; margin-left:5px; padding-left:5px; direction:ltr; margin-right:0px" >----- Original message -----<br>From: Thu Ba Nguyen <tbnguyen1985@gmail.com><br>Sent by: "openbmc" <openbmc-bounces+rameshi1=in.ibm.com@lists.ozlabs.org><br>To: OpenBMC Maillist <openbmc@lists.ozlabs.org><br>Cc:<br>Subject: [EXTERNAL] Re: phosphor-logging: entry() failed parse message.<br>Date: Sat, Nov 7, 2020 6:11 PM<br> <br><!-- BaNnErBlUrFlE-HeAdEr-start --> <!-- BaNnErBlUrFlE-HeAdEr-end --> <!-- BaNnErBlUrFlE-BoDy-start --> <!-- Preheader Text : BEGIN --> <!-- Preheader Text : END --> <!-- Email Banner : BEGIN -->
<!-- Email Banner : END --> <!-- BaNnErBlUrFlE-BoDy-end -->
<div dir="ltr" ><div dir="ltr" >The output in BMC console will be:
<div>phosphor-watchdog[534]: watchdog: Timed out</div>
<div> </div>
<div>Regards.</div>
<div>Thu Nguyen</div></div></div>
<div><div dir="ltr" >On Sat, Nov 7, 2020 at 7:38 PM Thu Ba Nguyen <<a href="mailto:tbnguyen1985@gmail.com" target="_blank" >tbnguyen1985@gmail.com</a>> wrote:</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex" ><div dir="ltr" ><div dir="ltr" >Hi,
<div> </div>
<div>In openBmc, We are using phosphor-logging.</div>
<div>When I log:</div>
<div><div style="color:rgb(212,212,212);background-color:rgb(30,30,30);font-family:Menlo,Monaco,"Courier New",monospace;font-size:18px;line-height:27px;white-space:pre-wrap" ><div><span style="color:rgb(220,220,170)" >log</span><<span style="color:rgb(78,201,176)" >level</span>::<span style="color:rgb(78,201,176)" >INFO</span>>(</div>
<div><span style="color:rgb(206,145,120)" >"watchdog: Timed out"</span>,</div>
<div><span style="color:rgb(220,220,170)" >entry</span>(<span style="color:rgb(206,145,120)" >"ACTION=%s"</span>, <span style="color:rgb(220,220,170)" >convertForMessage</span>(<span style="color:rgb(156,220,254)" >action</span>).<span style="color:rgb(220,220,170)" >c_str</span>()),</div>
<div><span style="color:rgb(220,220,170)" >entry</span>(<span style="color:rgb(206,145,120)" >"TIMER_USE=%s"</span>, <span style="color:rgb(220,220,170)" >convertForMessage</span>(<span style="color:rgb(220,220,170)" >expiredTimerUse</span>()).<span style="color:rgb(220,220,170)" >c_str</span>()),</div>
<div><span style="color:rgb(220,220,170)" >entry</span>(<span style="color:rgb(206,145,120)" >"TARGET=%s"</span>, <span style="color:rgb(156,220,254)" >target</span>-><span style="color:rgb(156,220,254)" >second</span>.<span style="color:rgb(220,220,170)" >c_str</span>()));</div></div></div>
<div>The message in entry() is losted.</div>
<div>Do I need to add any option when building?</div>
<div> </div>
<div>Thanks.</div>
<div>Thu Nguyen.</div></div></div></blockquote></div></blockquote>
<div dir="ltr" > </div></div><BR>