Changeset 9594


Ignore:
Timestamp:
9 Nov 2012, 15:39:06 (12 years ago)
Author:
uli
Message:

Add a null handler for deployment and let it be used by the 'wsgi' logger.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/etc/deploy.ini.in

    r9573 r9594  
    55
    66[loggers]
    7 # add 'wsgi' if you want the access.log to be generated
    8 keys = root, async, async_trace
     7keys = root, wsgi, async, async_trace
    98
    109[handlers]
    11 keys = console, accesslog, asynclog, async_tracelog
     10keys = null, console, accesslog, asynclog, async_tracelog
    1211
    1312[formatters]
     
    2019[logger_wsgi]
    2120level = INFO
    22 handlers = accesslog
     21#handlers = accesslog
     22handlers = null
    2323qualname = wsgi
    2424propagate = 0
     
    3535qualname = zc.async.trace
    3636propagate = 0
     37
     38[handler_null]
     39# you can use 'NullHandler' (w/o the path) if under Python 2.7+
     40class = waeup.kofa.utils.helpers.NullHandler
     41args = ()
     42level = NOTSET
    3743
    3844[handler_console]
Note: See TracChangeset for help on using the changeset viewer.