[Pywikipedia-l] [ pywikipediabot-Feature Requests-1970099 ] Provide (user-)config.py variable for disabling output()

SourceForge.net noreply at sourceforge.net
Thu Nov 13 11:51:28 UTC 2008


Feature Requests item #1970099, was opened at 2008-05-23 06:31
Message generated for change (Comment added) made by multichill
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1970099&group_id=93107

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: Open
Priority: 5
Private: No
Submitted By: Melancholie (melancholie)
Assigned to: Nobody/Anonymous (nobody)
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: 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&group_id=93107



More information about the Pywikipedia-l mailing list