manager: use new Logging.Cleared eventModify the internal manager support for creating internal eventsto be able to support the sdbusplus generated events. Transitionfrom the local Logging.Error
manager: use new Logging.Cleared eventModify the internal manager support for creating internal eventsto be able to support the sdbusplus generated events. Transitionfrom the local Logging.Error.LogsCleared to the global Logging.Clearedevent. Clean up references to the old event.Tested:```$ busctl --user call xyz.openbmc_project.Logging /xyz/openbmc_project/logging xyz.openbmc_project.Collection.DeleteAll DeleteAll$ busctl --user introspect xyz.openbmc_project.Logging /xyz/openbmc_project/logging/entry/1 -l | catNAME TYPE SIGNATURE RESULT/VALUE FLAGSxyz.openbmc_project.Logging.Entry interface - - -.GetEntry method - h -.AdditionalData property as 5 "NUMBER_OF_LOGS=210" "_CODE_FILE=../log_manager.hpp" "_CODE_FUNC=virtual void phosphor::logging::Manager::deleteAll()" "_CODE_LINE=361" "_PID=3318436" emits-change writable.EventId property s "" emits-change writable.Id property u 1 emits-change writable.Message property s "xyz.openbmc_project.Logging.Cleared" emits-change writable.Resolution property s "" emits-change writable.Resolved property b false emits-change writable.ServiceProviderNotify property s "xyz.openbmc_project.Logging.Entry.Notify.NotSupported" emits-change writable.Severity property s "xyz.openbmc_project.Logging.Entry.Level.Informational" emits-change writable.Timestamp property t 1730408674348 emits-change writable.UpdateTimestamp property t 1730408674348 emits-change writable```Signed-off-by: Patrick Williams <patrick@stwcx.xyz>Change-Id: I470f33ae2f5bfae6bf6d6a80ac2c5f028e41da95
show more ...
Add event log for log cleared-Create log on d-bus when user cleared all log entries.Tested: tested and verified the implementation on greatlakes platform.-Call method DeleteAll and check the d-b
Add event log for log cleared-Create log on d-bus when user cleared all log entries.Tested: tested and verified the implementation on greatlakes platform.-Call method DeleteAll and check the d-bus path for event log.Change-Id: Ib0e71b014608a25cc17bd803768b53774b8f4539Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
prettier: re-formatPrettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAMLfiles to have consistent formatting for these file types. Re-run theformatter on the whole repository.
prettier: re-formatPrettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAMLfiles to have consistent formatting for these file types. Re-run theformatter on the whole repository.Change-Id: I6e8d56540a30898369d7f232d900fd74de2e7bd1Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
yaml: move to subdirectoryA pending sdbusplus change (I38b69bc67b6a3d80cda1b508a76e106a50d8ab93)is going to require YAML to be in a specific subdirectory and not inthe root. Move here in prep fo
yaml: move to subdirectoryA pending sdbusplus change (I38b69bc67b6a3d80cda1b508a76e106a50d8ab93)is going to require YAML to be in a specific subdirectory and not inthe root. Move here in prep for that change.Signed-off-by: Patrick Williams <patrick@stwcx.xyz>Change-Id: I79e42014bbc15f10e7e2baf4a88dc05c6f2da698