Changeset 9899 for main/waeup.aaue/trunk


Ignore:
Timestamp:
16 Jan 2013, 14:58:57 (12 years ago)
Author:
Henrik Bettermann
Message:

Set different log options for ZEO.

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

Legend:

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

    r9223 r9899  
    55
    66[loggers]
    7 keys = root, wsgi
     7keys = root, wsgi, async, async_trace
    88
    99[handlers]
    10 keys = console, accesslog
     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
     25
     26[logger_async]
     27level = INFO
     28handlers = asynclog
     29qualname = zc.async
     30propagate = 0
     31
     32[logger_async_trace]
     33level = INFO
     34handlers = async_tracelog
     35qualname = zc.async.trace
     36propagate = 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
    2443
    2544[handler_console]
     
    3554level = INFO
    3655formatter = accesslog
     56
     57[handler_asynclog]
     58class = FileHandler
     59args = (os.path.join(r'${zope_conf:logfiles}', 'zeo1_async.log'),
     60        'a')
     61level = INFO
     62formatter = generic
     63
     64[handler_async_tracelog]
     65class = FileHandler
     66args = (os.path.join(r'${zope_conf:logfiles}', 'zeo1_async_trace.log'),
     67        'a')
     68level = INFO
     69formatter = generic
    3770
    3871[formatter_generic]
  • main/waeup.aaue/trunk/etc/zeo2.ini.in

    r9880 r9899  
    55
    66[loggers]
    7 keys = root, wsgi
     7keys = root, wsgi, async, async_trace
    88
    99[handlers]
    10 keys = console, accesslog
     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
     25
     26[logger_async]
     27level = INFO
     28handlers = asynclog
     29qualname = zc.async
     30propagate = 0
     31
     32[logger_async_trace]
     33level = INFO
     34handlers = async_tracelog
     35qualname = zc.async.trace
     36propagate = 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
    2443
    2544[handler_console]
     
    3554level = INFO
    3655formatter = accesslog
     56
     57[handler_asynclog]
     58class = FileHandler
     59args = (os.path.join(r'${zope_conf:logfiles}', 'zeo2_async.log'),
     60        'a')
     61level = INFO
     62formatter = generic
     63
     64[handler_async_tracelog]
     65class = FileHandler
     66args = (os.path.join(r'${zope_conf:logfiles}', 'zeo2_async_trace.log'),
     67        'a')
     68level = INFO
     69formatter = generic
    3770
    3871[formatter_generic]
Note: See TracChangeset for help on using the changeset viewer.