source: main/kofacustom.skeleton/branches/henrik-diazo-themed/etc/raw/debug.ini.in @ 11150

Last change on this file since 11150 was 11147, checked in by Henrik Bettermann, 11 years ago

Add missing .in files.

Add Interswitch logo.

Put Diazo into ZEO pipeline.

Remove Windows support.

File size: 1.8 KB
RevLine 
[11147]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, asynclog, async_tracelog
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_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
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
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
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]
82use = egg:${kofa_params:devel_pkg}#debug
83filter-with = translogger
84exempt-exceptions = zope.security.interfaces.IUnauthorized
85
86[server:main]
87use = egg:Paste#http
88host = ${kofa_params:host}
89port = ${kofa_params:base_port}
90
91[DEFAULT]
92# set the name of the zope.conf file
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.