phosphor-logging: entry() failed parse message.

Thu Ba Nguyen tbnguyen1985 at gmail.com
Sat Nov 7 23:38:44 AEDT 2020


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/b6c71eb9/attachment.htm>


More information about the openbmc mailing list