<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type><!-- flashmail style begin -->
<STYLE type=text/css>
body {border-width:0;margin:0}
img {border:0;margin:0;padding:0}
</STYLE>
<BASE target=_blank><!-- flashmail style end -->
<META name=GENERATOR content="MSHTML 11.00.10570.1001"></HEAD>
<BODY 
style="BORDER-LEFT-WIDTH: 0px; FONT-SIZE: 10.5pt; FONT-FAMILY: arial; BORDER-RIGHT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; COLOR: #000000; MARGIN: 12px; LINE-HEIGHT: 1.5; BORDER-TOP-WIDTH: 0px" 
marginheight="0" marginwidth="0">
<DIV>The data embedded in your entry() is meta-data.   Use '-overbose' 
option in journalctl command to print. </DIV>
<DIV> </DIV>
<DIV>journalctl -ef -overbose</DIV>
<DIV>>></DIV>
<DIV>Tue 2020-11-10 12:28:43.472063 UTC 
[s=93d61b6180db407d8f32924833a6954d;i=10c4;b=0ba0603a97814c2bb3d22f4857b5f964;m=13e4a3855c;t=5b3bfd1cbc915;x=bac5bbc519880cdf]<BR>    
_UID=0<BR>    _GID=0<BR>    
_CAP_EFFECTIVE=3fffffffff<BR>    
_BOOT_ID=0ba0603a97814c2bb3d22f4857b5f964<BR>    
_MACHINE_ID=b1d2788fe17541c0ba0363cd0f0aa699<BR>    
_HOSTNAME=intel-obmc<BR>    
_SYSTEMD_SLICE=system.slice<BR>    
_TRANSPORT=journal<BR>    PRIORITY=3<BR>    
CODE_FILE=/usr/src/debug/intel-ipmi-oem/0.1+gitAUTOINC+04a38ed10d-r0/recipe-sysroot/usr/include/phosphor-logging/log.hpp<BR>    
CODE_LINE=76<BR>    CODE_FUNC=helper_log<BR>    
TRANSACTION_ID=4091710023<BR>    
SYSLOG_IDENTIFIER=ipmid<BR>    _PID=245<BR>    
_COMM=ipmid<BR>    _EXE=/usr/bin/ipmid<BR>    
_CMDLINE=ipmid<BR>    
_SYSTEMD_CGROUP=/system.slice/phosphor-ipmi-host.service<BR>    
_SYSTEMD_UNIT=phosphor-ipmi-host.service<BR>    
_SYSTEMD_INVOCATION_ID=62df2ae5590c48a2b79ffe6843c3681c<BR>    
MESSAGE=Failed to GetAll<BR>    
INTF=xyz.openbmc_project.Inventory.Decorator.Ipmi<BR>    
WHAT=sd_bus_call: org.freedesktop.DBus.Error.UnknownInterface: Unknown interface 
'xyz.openbmc_project.Inventory.Decorator.Ipmi'.<BR>    
PATH=/xyz/openbmc_project/inventory/system/powersupply/SOLUM_CO_IS162F22_PSU1<BR>    
_SOURCE_REALTIME_TIMESTAMP=1605011323472063<BR></DIV>
<DIV> </DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; COLOR: #c0c0c0" 
align=left>2020-11-10 
<HR id=SignNameHR 
style="BORDER-TOP: #c0c0c0 1px solid; HEIGHT: 1px; BORDER-RIGHT: 0px; WIDTH: 122px; BORDER-BOTTOM: 0px; BORDER-LEFT: 0px" 
align=left>
<SPAN id=_FlashSignName>chunhui.jia</SPAN> </DIV>
<HR 
style="BORDER-TOP: #c0c0c0 1px solid; HEIGHT: 1px; BORDER-RIGHT: 0px; BORDER-BOTTOM: 0px; BORDER-LEFT: 0px">

<BLOCKQUOTE id=ntes-flashmail-quote 
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; PADDING-LEFT: 0px; MARGIN-LEFT: 0px">
  <DIV><STRONG>发件人:</STRONG>Thu Ba Nguyen <tbnguyen1985@gmail.com></DIV>
  <DIV><STRONG>发送时间:</STRONG>2020-11-10 06:35</DIV>
  <DIV><STRONG>主题:</STRONG>Re: phosphor-logging: entry() failed parse 
  message.</DIV>
  <DIV><STRONG>收件人:</STRONG>"Ramesh I I1"<rameshi1@in.ibm.com></DIV>
  <DIV><STRONG>抄送:</STRONG>"OpenBMC 
  Maillist"<openbmc@lists.ozlabs.org></DIV>
  <DIV> </DIV>
  <DIV>
  <DIV dir=ltr>
  <DIV dir=ltr>Thanks Ramesh,
  <DIV><BR></DIV>
  <DIV>But your commands are applied for some messages.</DIV>
  <DIV>And don't answer my questions.</DIV>
  <DIV>"Do I need to add any option when building?" to make phosphor-logging 
  print message in entry().</DIV>
  <DIV><BR></DIV>
  <DIV>Regards.</DIV>
  <DIV>Thu Nguyen.</DIV>
  <DIV><BR></DIV>
  <DIV>
  <DIV><BR></DIV>
  <DIV><BR></DIV></DIV></DIV></DIV><BR>
  <DIV class=gmail_quote>
  <DIV class=gmail_attr dir=ltr>On Mon, Nov 9, 2020 at 11:04 AM Ramesh I I1 
  <<A href="mailto:rameshi1@in.ibm.com">rameshi1@in.ibm.com</A>> 
  wrote:<BR></DIV>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0px 0px 0px 0.8ex">
    <DIV style="FONT-SIZE: 10pt; FONT-FAMILY: Arial,Helvetica,sans-serif" 
    dir=ltr>
    <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" 
    target=_blank>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 
    style="DIRECTION: ltr; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(170,170,170) 2px solid; MARGIN-RIGHT: 0px" 
    dir=ltr>----- Original message -----<BR>From: Thu Ba Nguyen <<A 
      href="mailto:tbnguyen1985@gmail.com" 
      target=_blank>tbnguyen1985@gmail.com</A>><BR>Sent by: "openbmc" 
      <openbmc-bounces+rameshi1=<A href="mailto:in.ibm.com@lists.ozlabs.org" 
      target=_blank>in.ibm.com@lists.ozlabs.org</A>><BR>To: OpenBMC Maillist 
      <<A href="mailto:openbmc@lists.ozlabs.org" 
      target=_blank>openbmc@lists.ozlabs.org</A>><BR>Cc:<BR>Subject: 
      [EXTERNAL] Re: phosphor-logging: entry() failed parse message.<BR>Date: 
      Sat, Nov 7, 2020 6:11 PM<BR> <BR>
      <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="PADDING-LEFT: 1ex; BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0px 0px 0px 0.8ex">
        <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='FONT-SIZE: 18px; FONT-FAMILY: Menlo,Monaco,"Courier New",monospace; WHITE-SPACE: pre-wrap; COLOR: rgb(212,212,212); LINE-HEIGHT: 27px; BACKGROUND-COLOR: rgb(30,30,30)'>
        <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></BLOCKQUOTE></DIV></DIV></BLOCKQUOTE></BODY></HTML>