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

Last change on this file since 14086 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
RevLine 
[5493]1# debug.ini
2#
[10935]3# Debugging configuration for use with paster/WSGI and diazo
[5493]4#
5
6[loggers]
[9602]7keys = root, wsgi
[5493]8
9[handlers]
[9217]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
[9217]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
[9217]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
[10935]75[filter:debugger]
[5493]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]
[8796]81use = egg:${kofa_params:devel_pkg}#debug
[5493]82exempt-exceptions = zope.security.interfaces.IUnauthorized
83
[10935]84[app:static]
85use = egg:Paste#static
[11044]86document_root = %(LAYOUT_DIR)s/static
[10935]87
88[composite:main]
89use = egg:Paste#urlmap
[11044]90/static = static
[10935]91/ = default
92
93[filter:theme]
94use = egg:diazo
[11085]95rules = file:///%(LAYOUT_DIR)s/rules.xml
[11044]96prefix = /
[10935]97doctype = <!DOCTYPE html>
[10951]98# set to false, if you don't want rules.xml being rebuild on each request
[10935]99debug = true
100
101[pipeline:default]
102pipeline = theme
103           translogger
104           debugger
105           zope
106
[5493]107[server:main]
108use = egg:Paste#http
[8662]109host = ${kofa_params:host}
110port = ${kofa_params:base_port}
[5493]111
112[DEFAULT]
113# set the name of the zope.conf file
[8796]114zope_conf = %(here)s/zope.conf
[9217]115env_vars = ZC_ASYNC_UUID ${buildout:directory}/var/uuid1.txt
[10935]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.