Feature Requests item #1970099, was opened at 2008-05-23 06:31 Message generated for change (Settings changed) made by xqt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1970099...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None
Status: Closed
Priority: 5 Private: No Submitted By: Melancholie (melancholie) Assigned to: xqt (xqt) Summary: Provide (user-)config.py variable for disabling output()
Initial Comment: If you run a bot in autonomous mode (interwiki.py), you actually do not have to have a look on the console output; rather on the "wiki" end result.
Printing out so many stuff is just slowing down the autonomous script process.
It would be nice if there was a variable defined in config.py (for user-config.py) that would allow to not get all this stuff printed all the time by setting the var = True/False.
See function output()
----------------------------------------------------------------------
Comment By: xqt (xqt) Date: 2009-11-09 18:29
Message: done in r7618
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz) Date: 2008-11-13 13:07
Message: It's already available. See set_debug in __init__.py (rewrite)
----------------------------------------------------------------------
Comment By: Multichill (multichill) Date: 2008-11-13 12:51
Message: We could implement log levels in pywikipedia. For example 7 levels, 7 = debug, 6 = informational, .... 1 = crash.
Might be something to take into account for the rewrite.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1970099...
pywikipedia-bugs@lists.wikimedia.org