diff -r e4580e5f0703 -r b8e35cde46e9 wsgi/handler.py --- a/wsgi/handler.py Fri Mar 11 09:46:45 2011 +0100 +++ b/wsgi/handler.py Wed Mar 16 09:37:46 2011 +0100 @@ -193,6 +193,10 @@ content = self.appli.need_login_content(req) return WSGIResponse(code, req, content) + # these are overridden by set_log_methods below + # only defining here to prevent pylint from complaining + info = warning = error = critical = exception = debug = lambda msg,*a,**kw: None + from logging import getLogger from cubicweb import set_log_methods