1
0

logging: cli options to filter for modules using -v

old style "-v" still works

filtering examples:
-v=debug,network=error,interface=error      // effectively blacklists network and interface
-v=warning,network=debug,interface=debug    // effectively whitelists network and interface
This commit is contained in:
SomberNight
2019-04-26 20:45:23 +02:00
parent 3385a94753
commit 6940c424d1
12 changed files with 42 additions and 57 deletions

View File

@@ -223,7 +223,6 @@ class Network(Logger):
"""The Network class manages a set of connections to remote electrum
servers, each connected socket is handled by an Interface() object.
"""
verbosity_filter = 'n'
def __init__(self, config: SimpleConfig=None):
global INSTANCE