Searched hist:d8c63204bed990fb653a9afd0083d0fd7e413440 (Results 1 – 1 of 1) sorted by relevance
/openbmc/phosphor-state-manager/ |
H A D | obmcutil | d8c63204bed990fb653a9afd0083d0fd7e413440 Thu May 14 15:06:31 CDT 2020 Andrew Geissler <geissonator@yahoo.com> logs: provide option to display log
This is a very basic display that just dumps the formatted json data of the xyz.openbmc_project.Logging.Entry interface. There is much more that could be done here but this is 100% more then what we have and could be built upon later if found useful.
Tested: root@witherspoon:~# obmcutil showlog /xyz/openbmc_project/logging/entry/54 { "type" : "a{sv}", "data" : [ { "Id" : { "type" : "u", "data" : 54 }, "Timestamp" : { "type" : "t", "data" : 1589483560788 }, "Severity" : { "type" : "s", "data" : "xyz.openbmc_project.Logging.Entry.Level.Error" }, "Message" : { "type" : "s", "data" : "xyz.openbmc_project.Common.Error.Timeout" }, "AdditionalData" : { "type" : "as", "data" : [ "CALLOUT_INVENTORY_PATH=/xyz/openbmc_project/inventory/system/chassis/motherboard", "TIMEOUT_IN_MSEC=5" ] }, "Resolved" : { "type" : "b", "data" : false }, "UpdateTimestamp" : { "type" : "t", "data" : 1589483560788 } } ] }
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I1f47093ec3b24fd21bbf7c693a2e89bdf83feeda
|