-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add methods for setting log levels via regexp
This change adds the methods to allow log levels to be set dynamically using regular expressions instead of supplying one module name at a time. Future CRs will 1) store the module map at the end at the end of peer startup and add a method to revert all modules to those levels, and 2) update all peer code to use flogging.MustGetLogger instead of logging.MustGetLogger to enable these new features. https://jira.hyperledger.org/browse/FAB-2351 Change-Id: I173ee502c4f3666447212fb3c36e06f7ee88a8f1 Signed-off-by: Will Lahti <wtlahti@us.ibm.com>
- Loading branch information
Showing
2 changed files
with
205 additions
and
17 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