Try editing the readability logger to specify a logger name instead of just the root:
https://github.com/buriy/python-readability/blob/master/readability/htmls.py -logging.getLogger().setLevel(logging.DEBUG) +logging.getLogger('readability').setLevel(logging.DEBUG) On Tuesday, March 27, 2012 3:33:58 AM UTC-10, Rohan wrote: > > any updates? > > On Monday, 26 March 2012 20:03:07 UTC+5:30, Rohan wrote: >> >> Web2py Version 1.99.7 (2012-03-04 22:12:08) stable >> Python 2.7.2+ >> >> I am trying to load external library from python ( >> http://pypi.python.org/pypi/readability-lxml/0.2.3) >> >> import urllib2 >> import readability >> page = urllib2.urlopen(url) >> html = page.read() >> >> page is fetched properly but in my console I am getting Rocket errors. If >> i comment 'import readability' or not use this lib then no rocket errors >> are published. >> >> DEBUG:Rocket.Errors.ThreadPool:Examining ThreadPool. 10 threads and 0 Q'd >> conxions >> DEBUG:Rocket.Monitor:In "receive timed-out connections" loop. >> DEBUG:Rocket.Monitor:Received a timed out connection. >> DEBUG:Rocket.Monitor:Adding connection to monitor list. >> DEBUG:Rocket.Errors.ThreadPool:Examining ThreadPool. 10 threads and 0 Q'd >> conxions >> ... >> DEBUG:Rocket.Errors.ThreadPool:Examining ThreadPool. 10 threads and 0 Q'd >> conxions >> DEBUG:Rocket.Errors.ThreadPool:Examining ThreadPool. 10 threads and 0 Q'd >> conxions >> DEBUG:Rocket.Errors.ThreadPool:Examining ThreadPool. 10 threads and 0 Q'd >> conxions >> ... >> >> and it get keep on printing same message over and over again. I have not >> changed any values in rocket.py. >> >> Is this expected and Is there any way I can disable this? With this >> continuous printing actual debug messages are getting lost, making dev >> really hard. >> >>