[Pywikipedia-bugs] [Maniphest] [Commented On] T272088: Logging (pywiki module) always verbose if enabled

2022-11-11 Thread So9q
So9q added a comment. In T272088#8389652 , @WolfgangFahl wrote: > 7.3 seems to work thanks god ... Thanks for the update. Then I can retire my fork and upgrade to 7.3 in wcdimportbot 😀 TASK DETAIL https://phabricator.wikimedia.or

[Pywikipedia-bugs] [Maniphest] [Commented On] T272088: Logging (pywiki module) always verbose if enabled

2022-11-11 Thread WolfgangFahl
WolfgangFahl added a comment. 7.3 seems to work thanks god ... TASK DETAIL https://phabricator.wikimedia.org/T272088 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: maynorc, WolfgangFahl Cc: WolfgangFahl, So9q, maynorc, AntiCompositeNumber, CONFIQ

[Pywikipedia-bugs] [Maniphest] [Commented On] T272088: Logging (pywiki module) always verbose if enabled

2022-11-11 Thread WolfgangFahl
WolfgangFahl added a comment. This is quite a horror show. I do not even use pywikibot just import it and it throws a ton of log stuff at me. Unfortunately this is marked as resolved without given the clear answer what version makes sure that the logging is not verbose by default. TASK DETA

[Pywikipedia-bugs] [Maniphest] [Commented On] T272088: Logging (pywiki module) always verbose if enabled

2022-05-05 Thread maynorc
maynorc added a comment. Sorry for the delay, hoping to get to it next week. TASK DETAIL https://phabricator.wikimedia.org/T272088 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: maynorc Cc: So9q, maynorc, AntiCompositeNumber, CONFIQ, Xqt, Aklappe

[Pywikipedia-bugs] [Maniphest] [Commented On] T272088: Logging (pywiki module) always verbose if enabled

2022-05-04 Thread So9q
So9q added a comment. I'm leaning towards forking pywikibot and removing the offending lines in bot.py causing the verbose log of files. TASK DETAIL https://phabricator.wikimedia.org/T272088 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: maynorc

[Pywikipedia-bugs] [Maniphest] [Commented On] T272088: Logging (pywiki module) always verbose if enabled

2022-05-04 Thread So9q
So9q added a comment. In T272088#7772946 , @maynorc wrote: > In T272088#7661705 , @So9q wrote: > >> In T272088#6751351 , @Xqt wrot

[Pywikipedia-bugs] [Maniphest] [Commented On] T272088: Logging (pywiki module) always verbose if enabled

2022-04-25 Thread Xqt
Xqt added a comment. @maynorc: Are you still working on it? Do you need any help? TASK DETAIL https://phabricator.wikimedia.org/T272088 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: maynorc, Xqt Cc: So9q, maynorc, AntiCompositeNumber, CONFIQ, Xq

[Pywikipedia-bugs] [Maniphest] [Commented On] T272088: Logging (pywiki module) always verbose if enabled

2022-03-13 Thread maynorc
maynorc added a comment. In T272088#7661705 , @So9q wrote: > In T272088#6751351 , @Xqt wrote: > >> I see. 'pywiki' logger will be initialized to level 11 and there is no easy way to

[Pywikipedia-bugs] [Maniphest] [Commented On] T272088: Logging (pywiki module) always verbose if enabled

2022-01-29 Thread So9q
So9q added a comment. In T272088#6751351 , @Xqt wrote: > I see. 'pywiki' logger will be initialized to level 11 and there is no easy way to change that. As a work-around you can modify the logger after it was initialized e.g. > >

[Pywikipedia-bugs] [Maniphest] [Commented On] T272088: Logging (pywiki module) always verbose if enabled

2021-12-08 Thread Xqt
Xqt added a comment. In T272088#7551453 , @maynorc wrote: >> 'pywiki' logger will be initialized to level 11 and there is no easy way to change that > > Python's `logging` module offers a lot of options

[Pywikipedia-bugs] [Maniphest] [Commented On] T272088: Logging (pywiki module) always verbose if enabled

2021-12-06 Thread maynorc
maynorc added a comment. > 'pywiki' logger will be initialized to level 11 and there is no easy way to change that Python's `logging` module offers a lot of options for configuration; would it make sense to move some of

[Pywikipedia-bugs] [Maniphest] [Commented On] T272088: Logging (pywiki module) always verbose if enabled

2021-01-15 Thread Xqt
Xqt added a comment. I see. 'pywiki' logger will be initialized to level 11 and there is no easy way to change that. As a work-around you can modify the logger after it was initialized e.g. import logging import pywikibot pywikibot.output('This will initialize the logger')

[Pywikipedia-bugs] [Maniphest] [Commented On] T272088: Logging (pywiki module) always verbose if enabled

2021-01-15 Thread Inductiveload
Inductiveload added a comment. @Xqt sure, but the following program should not produce any logging: #! /usr/bin/env python3 import pywikibot import logging logging.basicConfig(level=logging.WARNING) But instead it produces 298 lines that all start with `VERBOSE

[Pywikipedia-bugs] [Maniphest] [Commented On] T272088: Logging (pywiki module) always verbose if enabled

2021-01-15 Thread Xqt
Xqt added a comment. Logging is a facility Pyhton module and part of ist standard library. How is this related to pywikibot framework and what dou you expect on our side? Probably use Python's bug Tracker: https://docs.python.org/3/bugs.html TASK DETAIL https://phabricator.wikimedia.org/T2