core: set _v and _vv to True in enable_debug_logging().

router.enable_debug() has been broken for ages.
This commit is contained in:
David Wilson 2018-05-14 22:58:56 +01:00
parent 7320c542df
commit 11c2e4ab3e
1 changed files with 3 additions and 0 deletions

View File

@ -273,6 +273,9 @@ class PidfulStreamHandler(logging.StreamHandler):
def enable_debug_logging():
global _v, _vv
_v = True
_vv = True
root = logging.getLogger()
root.setLevel(logging.DEBUG)
IOLOG.setLevel(logging.DEBUG)