Changeset 9894 for main


Ignore:
Timestamp:
16 Jan 2013, 12:13:58 (12 years ago)
Author:
uli
Message:

Set different log options for ZEO.

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

Legend:

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

    r9222 r9894  
    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.uniben/trunk/etc/zeo2.ini.in

    r9879 r9894  
    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.