<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Dear all,</div><div><br></div><div>Add sel-logger to openbmc project, when threshold sensor generate log, sel-logger will add message to journal, but why the message is incomplete?</div><div><br></div><div><pre style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; font-size: 11.9px; margin-top: 0px; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; background-color: rgb(246, 248, 250); border-radius: 3px; color: rgb(36, 41, 46);"><code style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; padding: 0px; margin: 0px; background: initial; border-radius: 3px; word-break: normal; white-space: pre; border: 0px; display: inline; overflow: visible; line-height: inherit; overflow-wrap: normal;">sd_journal_send("MESSAGE=%s", message.c_str(),
"PRIORITY=%i", selPriority,
"MESSAGE_ID=%s", selMessageId,
"IPMI_SEL_RECORD_ID=%d", recordId,
"IPMI_SEL_RECORD_TYPE=%x", selSystemType,
"IPMI_SEL_GENERATOR_ID=%x", genId,
"IPMI_SEL_SENSOR_PATH=%s", path.c_str(),
"IPMI_SEL_EVENT_DIR=%x", assert,
"IPMI_SEL_DATA=%s", selDataStr,
NULL);</code></pre><pre style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; background-color: rgb(246, 248, 250); border-radius: 3px;"><code style="box-sizing: border-box; padding: 0px; margin: 0px; background: initial; border-radius: 3px; word-break: normal; border: 0px; display: inline; overflow: visible; line-height: inherit; overflow-wrap: normal; font-size: 11.9px; white-space: pre;"><font color="#24292e" face="SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace">Sep 30 01:39:48 demoboard sel-logger[1187]: P12V sensor crossed a warning low threshold going low. Reading=0.089000 Threshold=11.400000.
Sep 30 01:39:48 demoboard sel-logger[1187]: P12V sensor crossed a critical low threshold going low. Reading=0.089000 Threshold=10.220000.
Sep 30 01:39:48 demoboard sel-logger[1187]: P5V sensor crossed a warning low threshold going low. Reading=0.231000 Threshold=4.750000.
Sep 30 01:39:48 demoboard sel-logger[1187]: P5V sensor crossed a critical low threshold going low. Reading=0.231000 Threshold=4.500000.
Sep 30 01:39:48 demoboard sel-logger[1187]: P3V3 sensor crossed a warning low threshold going low. Reading=0.002000 Threshold=3.100000.
Sep 30 01:39:48 demoboard sel-logger[1187]: P3V3 sensor crossed a critical low threshold going low. Reading=0.002000 Threshold=3.070000.
Sep 30 01:39:49 demoboard sel-logger[1187]: PVCCIN_CPU1 sensor crossed a warning low threshold going low. Reading=0.001000 Threshold=1.170000.
Sep 30 01:39:49 demoboard sel-logger[1187]: PVCCIN_CPU1 sensor crossed a critical low threshold going low. Reading=0.001000 Threshold=1.070000.</font></code><code style="color: rgb(36, 41, 46); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; font-size: 11.9px; box-sizing: border-box; padding: 0px; margin: 0px; background: initial; border-radius: 3px; word-break: normal; white-space: pre; border: 0px; display: inline; overflow: visible; line-height: inherit; overflow-wrap: normal;">
</code></pre></div><div><code style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; padding: 0px; margin: 0px; background: initial; border-radius: 3px; word-break: normal; white-space: pre; border: 0px; display: inline; overflow: visible; line-height: inherit; overflow-wrap: normal;">thanks,</code></div><div><code style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; padding: 0px; margin: 0px; background: initial; border-radius: 3px; word-break: normal; white-space: pre; border: 0px; display: inline; overflow: visible; line-height: inherit; overflow-wrap: normal;">Byron</code></div></div><br><br><span title="neteasefooter"><p> </p></span>