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

Changeset 1236

Show
Ignore:
Timestamp:
08/11/06 15:36:25
Author:
lawouach
Message:

Fixed missing access log for global configuration

Files:

Legend:

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

    r1232 r1236  
    124124_error_log.setLevel(_logging.DEBUG) 
    125125 
     126_access_log = _logging.getLogger("cherrypy.access") 
     127_access_log.setLevel(_logging.INFO) 
     128 
    126129def _log_message(msg, context = '', severity = _logging.DEBUG): 
    127130    """Default method for logging messages (error log). 
  • trunk/cherrypy/config.py

    r1226 r1236  
    102102     
    103103    _configure_builtin_logging(globalconf, cherrypy._error_log) 
     104    _configure_builtin_logging(globalconf, cherrypy._access_log, "log_access_file") 
    104105 
    105106def _add_builtin_screen_handler(log): 

Hosted by WebFaction

Log in as guest/cpguest to create tickets