jenkins-bot submitted this change.
decrease token replacement logging level to debug
Change-Id: I360bf4cfd31aee4c74ecf34a4652f4d379f75e2a
---
M pywikibot/site/_tokenwallet.py
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pywikibot/site/_tokenwallet.py b/pywikibot/site/_tokenwallet.py
index cb3f044..271e46e 100644
--- a/pywikibot/site/_tokenwallet.py
+++ b/pywikibot/site/_tokenwallet.py
@@ -4,7 +4,7 @@
#
# Distributed under the terms of the MIT license.
#
-from pywikibot import log
+from pywikibot import debug
from pywikibot.exceptions import Error
@@ -60,7 +60,7 @@
if self.site.mw_version >= '1.24wmf19' \
and key in {'edit', 'delete', 'protect', 'move', 'block', 'unblock',
'email', 'import', 'options'}:
- log('Token {!r} was replaced by {!r}'.format(key, 'csrf'))
+ debug('Token {!r} was replaced by {!r}'.format(key, 'csrf'))
key = 'csrf'
try:
To view, visit change 754098. To unsubscribe, or for help writing mail filters, visit settings.