jenkins-bot submitted this change.

View Change

Approvals: JJMC89: Looks good to me, approved jenkins-bot: Verified
[bugfix] Do not delegate logging output to the root logger

Bug: T281643
Change-Id: Ie0a9a4c250211968dc1ef34340d9b9e107b71ce7
M pywikibot/
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/pywikibot/ b/pywikibot/
index b7eb314..c5fd565 100644
--- a/pywikibot/
+++ b/pywikibot/
@@ -388,6 +388,7 @@
warnings.filterwarnings('once', category=FutureWarning)

root_logger.handlers = [] # remove any old handlers
+ root_logger.propagate = False # T281643

# configure handler(s) for display to user interface
assert ui is not None

To view, visit change 785879. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ie0a9a4c250211968dc1ef34340d9b9e107b71ce7
Gerrit-Change-Number: 785879
Gerrit-PatchSet: 3
Gerrit-Owner: Xqt <>
Gerrit-Reviewer: Inductiveload <>
Gerrit-Reviewer: JJMC89 <>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged