| #
a282ca61
|
| 07-Jul-2025 |
Patrick Williams <patrick@stwcx.xyz> |
log-resolve: reduce unnecessary dependencies
Clean up the executable and meson to reduce unnecessary dependencies on JSON and sdbusplus::async.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> C
log-resolve: reduce unnecessary dependencies
Clean up the executable and meson to reduce unnecessary dependencies on JSON and sdbusplus::async.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ia3b1a27108b3e80c4dfac562e00d2d961a28994b
show more ...
|
| #
eaa501f3
|
| 23-Jan-2025 |
Amithash Prasad <amithash@meta.com> |
Add helper log-resolve CLI
Add ability to resolve log entries from command line.
Tested: Create a log using log-create and then resolve it using both the --id and --path mechanisms ``` root@bmc:~#
Add helper log-resolve CLI
Add ability to resolve log entries from command line.
Tested: Create a log using log-create and then resolve it using both the --id and --path mechanisms ``` root@bmc:~# log-create xyz.openbmc_project.Sensor.Threshold.SensorFailure -j '{"SENSOR_NAME": "Hello1"}' <3> OPENBMC_MESSAGE_ID={"xyz.openbmc_project.Sensor.Threshold.SensorFailure":{"SENSOR_NAME":"Hello1", <snip> /xyz/openbmc_project/logging/entry/11 root@bmc:~# log-resolve --id 11 <3> LOGPATH: /xyz/openbmc_project/logging/entry/11 Resolved root@bmc:~# busctl introspect xyz.openbmc_project.Logging /xyz/openbmc_project/logging/entry/11 | grep Resolved .Resolved property b true emits-change writable
root@bmc:~# log-create xyz.openbmc_project.Sensor.Threshold.SensorFailure -j '{"SENSOR_NAME": "Hello2"}' <3> OPENBMC_MESSAGE_ID={"xyz.openbmc_project.Sensor.Threshold.SensorFailure":{"SENSOR_NAME":"Hello2" <snip> /xyz/openbmc_project/logging/entry/12
root@bmc:~# log-resolve --path /xyz/openbmc_project/logging/entry/12 <3> LOGPATH: /xyz/openbmc_project/logging/entry/12 Resolved
root@bmc:~# busctl introspect xyz.openbmc_project.Logging /xyz/openbmc_project/logging/entry/12 | grep Resolved .Resolved property b true emits-change writable ```
Change-Id: Ieac6c43f2497ea97b43b2a885e929e248f669e4c Signed-off-by: Amithash Prasad <amithash@meta.com>
show more ...
|