On 22 February 2012 11:24, Bináris <wikiposta(a)gmail.com> wrote:
1. Let's introduce a new config parameter suppress with default False.
2. pywikibot.output should return immediately upon detecting
suppress=True. One central handle for majority of screen outputs.
How would this be different from
python bot.py 2>&1 > /dev/null
?
Furthermore, the logging module is *not* difficult and a lot of useful
wrapper functions for pywikipedia already exist in the rewrite branch:
http://svn.wikimedia.org/viewvc/pywikipedia/branches/rewrite/pywikibot/bot.…
(around line 217)
Best,
Merlijn