Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 2046

Show
Ignore:
Timestamp:
09/27/08 20:43:26
Author:
fumanchu
Message:

Fix (partial?) for #852 (CherryPy always overrides user specified log levels).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cherrypy/_cplogging.py

    r1984 r2046  
    127127                    stream=sys.stderr 
    128128                h = logging.StreamHandler(stream) 
    129                 h.setLevel(logging.DEBUG) 
    130129                h.setFormatter(logfmt) 
    131130                h._cpbuiltin = "screen" 
     
    150149    def _add_builtin_file_handler(self, log, fname): 
    151150        h = logging.FileHandler(fname) 
    152         h.setLevel(logging.DEBUG) 
    153151        h.setFormatter(logfmt) 
    154152        h._cpbuiltin = "file" 
     
    198196            if not h: 
    199197                h = WSGIErrorHandler() 
    200                 h.setLevel(logging.DEBUG) 
    201198                h.setFormatter(logfmt) 
    202199                h._cpbuiltin = "wsgi" 

Hosted by WebFaction

Log in as guest/cpguest to create tickets