From 3231c62a66805bc3f06c6907d42e76a187e38f67 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Thu, 8 Aug 2019 15:07:57 +0100 Subject: [PATCH] parent: fix get_log_level() for split out loggers. --- mitogen/parent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mitogen/parent.py b/mitogen/parent.py index 235290fb..99d8d621 100644 --- a/mitogen/parent.py +++ b/mitogen/parent.py @@ -161,7 +161,7 @@ _core_source_partial = None def get_log_level(): - return (LOG.level or logging.getLogger().level or logging.INFO) + return (LOG.getEffectiveLevel() or logging.INFO) def get_sys_executable():