[Pywikipedia-l] Making pagenerators shut up

Bináris wikiposta at gmail.com
Thu Dec 22 13:24:22 UTC 2011


Hi,

I run an own script on a remote Linux toolserver in the background. I
suppressed my own screen outputs for that purpose. However, the program
uses pagenerators.py, and my screen is infinitely full of lines lik these:
Getting 60 pages from wikipedia:hu...
Sleeping for 4.5 seconds, 2011-12-22 14:19:06
Getting 60 pages from wikipedia:hu...
Sleeping for 4.6 seconds, 2011-12-22 14:19:12
Getting 60 pages from wikipedia:hu...
Sleeping for 4.2 seconds, 2011-12-22 14:19:19
Getting 60 pages from wikipedia:hu...
Sleeping for 4.1 seconds, 2011-12-22 14:19:25
Getting 60 pages from wikipedia:hu...
Sleeping for 4.3 seconds, 2011-12-22 14:19:30
Getting 60 pages from wikipedia:hu...
Sleeping for 4.2 seconds, 2011-12-22 14:19:36
Sleeping for 4.1 seconds, 2011-12-22 14:19:42
Getting 60 pages from wikipedia:hu...
Getting 60 pages from wikipedia:hu...

This is not only ugly but prevents me of using the console.
Is there any way to suppress these messages and run pagegenerators in
silent mode?

-- 
Bináris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wikimedia.org/pipermail/pywikipedia-l/attachments/20111222/39cbe6d7/attachment.htm 


More information about the Pywikipedia-l mailing list