Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[dbus] Allow adjusting mce verbosity while it is running. Fixes JB#32492
Now and then a situation arises where mce verbosity needs to be adjusted for debugging purposes without restarting the process. Currently it can be done via sending USR1/USR2 signals to mce process, but that is a bit clumsy and does not allow choosing the required logging level. Implement dbus method calls for adjusting mce verbosity and add mcetool option that utilizes this to select required verbosity level: --set-verbosity=<emerg|alert|crit|err|warning|notice|info|debug> The change is temporary and mce returns to default verbosity when the service is restarted / device is rebooted.
- Loading branch information
Showing
4 changed files
with
227 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters