Changeset 9605


Ignore:
Timestamp:
9 Nov 2012, 16:40:55 (12 years ago)
Author:
Henrik Bettermann
Message:

Add a null handler.

File:
1 edited

Legend:

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

    r9585 r9605  
    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.