Ignore:
Timestamp:
16 Jan 2013, 11:56:01 (12 years ago)
Author:
uli
Message:

Set different log options for ZEO.

Location:
main/waeup.kofa/trunk/etc
Files:
2 edited

Legend:

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

    r9217 r9893  
    88
    99[handlers]
    10 keys = console, accesslog, asynclog, async_tracelog
     10keys = null, console, accesslog, asynclog, async_tracelog
    1111
    1212[formatters]
     
    1919[logger_wsgi]
    2020level = INFO
    21 handlers = accesslog
     21#handlers = accesslog
     22handlers = null
    2223qualname = wsgi
    2324propagate = 0
     
    3435qualname = zc.async.trace
    3536propagate = 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
    3643
    3744[handler_console]
  • main/waeup.kofa/trunk/etc/zeo2.ini.in

    r9217 r9893  
    88
    99[handlers]
    10 keys = console, accesslog, asynclog, async_tracelog
     10keys = null, console, accesslog, asynclog, async_tracelog
    1111
    1212[formatters]
     
    1919[logger_wsgi]
    2020level = INFO
    21 handlers = accesslog
     21#handlers = accesslog
     22handlers = null
    2223qualname = wsgi
    2324propagate = 0
    24 
    25 [handler_console]
    26 class = StreamHandler
    27 args = (sys.stderr,)
    28 level = NOTSET
    29 formatter = generic
    3025
    3126[logger_async]
     
    4035qualname = zc.async.trace
    4136propagate = 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
     43
     44[handler_console]
     45class = StreamHandler
     46args = (sys.stderr,)
     47level = NOTSET
     48formatter = generic
    4249
    4350[handler_accesslog]
Note: See TracChangeset for help on using the changeset viewer.