source: main/waeup.uniben/trunk/etc/debug.ini.in @ 11709

Last change on this file since 11709 was 9222, checked in by Henrik Bettermann, 12 years ago

Adjust configuration to trunk merged with uli-zc-async.

File size: 1.3 KB
Line 
1# debug.ini
2#
3# Debugging configuration for use with paster/WSGI
4#
5
6[loggers]
7keys = root, wsgi
8
9[handlers]
10keys = console, accesslog
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
21[handler_console]
22class = StreamHandler
23args = (sys.stderr,)
24level = NOTSET
25formatter = generic
26
27[handler_accesslog]
28class = FileHandler
29args = (os.path.join(r'${zope_conf:logfiles}', 'access.log'),
30        'a')
31level = INFO
32formatter = accesslog
33
34[logger_root]
35level = INFO
36handlers = console
37
38[logger_wsgi]
39level = INFO
40handlers = accesslog
41qualname = wsgi
42propagate = 0
43
44[filter:translogger]
45use = egg:Paste#translogger
46setup_console_handler = False
47logger_name = wsgi
48
49[filter-app:main]
50# Change the last part from 'ajax' to 'pdb' for a post-mortem debugger
51# on the console:
52use = egg:z3c.evalexception#ajax
53next = zope
54
55[app:zope]
56use = egg:waeup.uniben#debug
57filter-with = translogger
58exempt-exceptions = zope.security.interfaces.IUnauthorized
59
60[server:main]
61use = egg:Paste#http
62host = ${kofa_params:host}
63port = ${kofa_params:base_port}
64
65[DEFAULT]
66# set the name of the zope.conf file
67zope_conf = %(here)s/zope.conf
68env_vars = ZC_ASYNC_UUID ${buildout:directory}/var/uuid1.txt
Note: See TracBrowser for help on using the repository browser.