forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add signal handler to change debug level. (sonic-net#96)
* [sonic_ax_impl/__main__.py]: Add signal handler to change debug level. Today, We can not alter the log level of already running snmp-subagent. Adding a signal handler for signal SIGUSR1 to switch log level for both sonic_ax_impl and ax_interface logger. * [README.md]: Updated the doc for snmp_subagent_signal_handler.
- Loading branch information
1 parent
9a4edea
commit 7b8b377
Showing
2 changed files
with
30 additions
and
0 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