Optionally send reports to D-Bus Logging
Follow the trend set by common OpenBMC components (phosphor-sel-logger,
dbus-sensors etc.) and allow to send all essential reports to the
dedicated Logging interface instead of the system journal directly.
Tested: built with "send-to-logger" option enabled and run on a system
where mem_thermtrip_monitor detected a problem. Observed a message
becoming visible via Redfish (bmcweb built with
"redfish-dbus-log=enabled").
Change-Id: I29287972d85433a7e85660c82fe95fff5b023e5a
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
19 files changed