source: main/waeup.futminna/trunk/etc/themed/debug.ini.in @ 14336

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

One never knows if FUTMinna comes back:

Diazofied whole package.
Removed sphinx docs.
Added generic install instructions.

File size: 2.6 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[app:static_custom]
89use = egg:Paste#static
90document_root = %(LAYOUT_CUSTOM_DIR)s/static/
91
92[composite:main]
93use = egg:Paste#urlmap
94/static = static
95/static_custom = static_custom
96/ = default
97
98[filter:theme]
99use = egg:diazo
100rules = file:///%(LAYOUT_CUSTOM_DIR)s/rules.xml
101prefix = /
102doctype = <!DOCTYPE html>
103# set to false, if you don't want rules.xml being rebuild on each request
104debug = true
105
106[pipeline:default]
107pipeline = theme
108           translogger
109           debugger
110           zope
111
112[server:main]
113use = egg:Paste#http
114host = ${kofa_params:host}
115port = ${kofa_params:base_port}
116
117[DEFAULT]
118# set the name of the zope.conf file
119zope_conf = %(here)s/zope.conf
120env_vars = ZC_ASYNC_UUID ${buildout:directory}/var/uuid1.txt
121# the directory where all real diazo config is done (no trailing slash)
122LAYOUT_DIR = ${buildout:directory}/sources/waeup.kofa/layout
123STATIC_DIR = %(LAYOUT_DIR)s/static
124LAYOUT_CUSTOM_DIR = ${buildout:directory}/layout
125STATIC_CUSTOM_DIR = %(LAYOUT_CUSTOM_DIR)s/static
Note: See TracBrowser for help on using the repository browser.