wsgi/handler.py
brancholdstable
changeset 7083 b8e35cde46e9
parent 5442 3ed8afbbdf70
child 8272 18893bb969d2
equal deleted inserted replaced
7074:e4580e5f0703 7083:b8e35cde46e9
   191             content = self.appli.loggedout_content(req)
   191             content = self.appli.loggedout_content(req)
   192         else:
   192         else:
   193             content = self.appli.need_login_content(req)
   193             content = self.appli.need_login_content(req)
   194         return WSGIResponse(code, req, content)
   194         return WSGIResponse(code, req, content)
   195 
   195 
       
   196     # these are overridden by set_log_methods below
       
   197     # only defining here to prevent pylint from complaining
       
   198     info = warning = error = critical = exception = debug = lambda msg,*a,**kw: None
       
   199 
   196 
   200 
   197 from logging import getLogger
   201 from logging import getLogger
   198 from cubicweb import set_log_methods
   202 from cubicweb import set_log_methods
   199 set_log_methods(CubicWebWSGIApplication, getLogger('cubicweb.wsgi'))
   203 set_log_methods(CubicWebWSGIApplication, getLogger('cubicweb.wsgi'))