source: main/waeup.kofa/branches/uli-zc-async/etc/debug.ini.in @ 10028

Last change on this file since 10028 was 9211, checked in by uli, 12 years ago

Rollback r9209. Looks like multiple merges from trunk confuse svn when merging back into trunk.

File size: 1.8 KB
RevLine 
[5493]1# debug.ini
2#
3# Debugging configuration for use with paster/WSGI
4#
5
6[loggers]
[8919]7keys = root, wsgi, async, async_trace
[5493]8
9[handlers]
[8919]10keys = console, accesslog, asynclog, async_tracelog
[5493]11
12[formatters]
13keys = generic, accesslog
14
15[formatter_generic]
16format = %(asctime)s %(levelname)s [%(name)s] %(message)s
17
18[formatter_accesslog]
19format = %(message)s
20
[8919]21[handler_asynclog]
22class = FileHandler
23args = (os.path.join(r'${zope_conf:logfiles}', 'async.log'),
24        'a')
25level = INFO
26formatter = generic
27
28[handler_async_tracelog]
29class = FileHandler
30args = (os.path.join(r'${zope_conf:logfiles}', 'async_trace.log'),
31        'a')
32level = INFO
33formatter = generic
34
[5493]35[handler_console]
36class = StreamHandler
37args = (sys.stderr,)
38level = NOTSET
39formatter = generic
40
41[handler_accesslog]
42class = FileHandler
43args = (os.path.join(r'${zope_conf:logfiles}', 'access.log'),
44        'a')
45level = INFO
46formatter = accesslog
47
48[logger_root]
49level = INFO
50handlers = console
51
52[logger_wsgi]
53level = INFO
54handlers = accesslog
55qualname = wsgi
56propagate = 0
57
[8919]58[logger_async]
59level = INFO
60handlers = asynclog
61qualname = zc.async
62propagate = 0
63
64[logger_async_trace]
65level = INFO
66handlers = async_tracelog
67qualname = zc.async.trace
68propagate = 0
69
[5493]70[filter:translogger]
71use = egg:Paste#translogger
72setup_console_handler = False
73logger_name = wsgi
74
75[filter-app:main]
76# Change the last part from 'ajax' to 'pdb' for a post-mortem debugger
77# on the console:
78use = egg:z3c.evalexception#ajax
79next = zope
80
81[app:zope]
[9211]82use = egg:waeup.kofa#debug
[5493]83filter-with = translogger
84exempt-exceptions = zope.security.interfaces.IUnauthorized
85
86[server:main]
87use = egg:Paste#http
[8662]88host = ${kofa_params:host}
89port = ${kofa_params:base_port}
[5493]90
91[DEFAULT]
92# set the name of the zope.conf file
[8919]93zope_conf = %(here)s/zope.conf
94env_vars = ZC_ASYNC_UUID ${buildout:directory}/var/uuid1.txt
Note: See TracBrowser for help on using the repository browser.