phosphor-logging: entry() failed parse message.

Thu Ba Nguyen tbnguyen1985 at gmail.com
Sat Nov 7 23:39:51 AEDT 2020


The output in BMC console will be:
phosphor-watchdog[534]: watchdog: Timed out

Regards.
Thu Nguyen

On Sat, Nov 7, 2020 at 7:38 PM Thu Ba Nguyen <tbnguyen1985 at gmail.com> wrote:

> Hi,
>
> In openBmc, We are using phosphor-logging.
> When I log:
> log<level::INFO>(
> "watchdog: Timed out",
> entry("ACTION=%s", convertForMessage(action).c_str()),
> entry("TIMER_USE=%s", convertForMessage(expiredTimerUse()).c_str()),
> entry("TARGET=%s", target->second.c_str()));
> The message in entry() is losted.
> Do I need to add any option when building?
>
> Thanks.
> Thu Nguyen.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20201107/79e18637/attachment.htm>


More information about the openbmc mailing list