source: main/waeup.kofa/trunk/etc/themed/debug.ini.in @ 17937

Last change on this file since 17937 was 11254, checked in by uli, 11 years ago

Merge changes from uli-diazo-themed back into trunk. If this works, then a miracle happened.

File size: 2.3 KB
Line 
1# debug.ini
2#
3# Debugging configuration for use with paster/WSGI and diazo
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:debugger]
76# Change the last part from 'ajax' to 'pdb' for a post-mortem debugger
77# on the console:
78use = egg:z3c.evalexception#ajax
79
80[app:zope]
81use = egg:${kofa_params:devel_pkg}#debug
82exempt-exceptions = zope.security.interfaces.IUnauthorized
83
84[app:static]
85use = egg:Paste#static
86document_root = %(LAYOUT_DIR)s/static
87
88[composite:main]
89use = egg:Paste#urlmap
90/static = static
91/ = default
92
93[filter:theme]
94use = egg:diazo
95rules = file:///%(LAYOUT_DIR)s/rules.xml
96prefix = /
97doctype = <!DOCTYPE html>
98# set to false, if you don't want rules.xml being rebuild on each request
99debug = true
100
101[pipeline:default]
102pipeline = theme
103           translogger
104           debugger
105           zope
106
107[server:main]
108use = egg:Paste#http
109host = ${kofa_params:host}
110port = ${kofa_params:base_port}
111
112[DEFAULT]
113# set the name of the zope.conf file
114zope_conf = %(here)s/zope.conf
115env_vars = ZC_ASYNC_UUID ${buildout:directory}/var/uuid1.txt
116# the directory where all real diazo config is done (no trailing slash)
117LAYOUT_DIR = ${buildout:directory}/layout
118STATIC_DIR = %(LAYOUT_DIR)s/static
Note: See TracBrowser for help on using the repository browser.