source: main/waeup.skeleton/branches/uli-diazo-themed/etc/themed/deploy.ini.in @ 11098

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

Take layout from /sources/waeup.kofa/layout and customizations from /layout.

File size: 2.5 KB
RevLine 
[5493]1# deploy.ini
2#
3# Deployment configuration for use with paster/WSGI
4#
5
6[loggers]
[9594]7keys = root, wsgi, async, async_trace
[5493]8
9[handlers]
[9594]10keys = null, console, accesslog, asynclog, async_tracelog
[5493]11
12[formatters]
13keys = generic, accesslog
14
15[logger_root]
16level = INFO
17handlers = console
18
19[logger_wsgi]
20level = INFO
[9594]21#handlers = accesslog
22handlers = null
[5493]23qualname = wsgi
24propagate = 0
25
[9217]26[logger_async]
27level = INFO
28handlers = asynclog
29qualname = zc.async
30propagate = 0
31
32[logger_async_trace]
33level = INFO
34handlers = async_tracelog
35qualname = zc.async.trace
36propagate = 0
37
[9594]38[handler_null]
39# you can use 'NullHandler' (w/o the path) if under Python 2.7+
40class = waeup.kofa.utils.helpers.NullHandler
41args = ()
42level = NOTSET
43
[5493]44[handler_console]
45class = StreamHandler
46args = (sys.stderr,)
47level = NOTSET
48formatter = generic
49
50[handler_accesslog]
51class = FileHandler
52args = (os.path.join(r'${zope_conf:logfiles}', 'access.log'),
53        'a')
54level = INFO
55formatter = accesslog
56
[9217]57[handler_asynclog]
58class = FileHandler
59args = (os.path.join(r'${zope_conf:logfiles}', 'async.log'),
60        'a')
61level = INFO
62formatter = generic
63
64[handler_async_tracelog]
65class = FileHandler
66args = (os.path.join(r'${zope_conf:logfiles}', 'async_trace.log'),
67        'a')
68level = INFO
69formatter = generic
70
[5493]71[formatter_generic]
72format = %(asctime)s %(levelname)s [%(name)s] %(message)s
73
74[formatter_accesslog]
75format = %(message)s
76
77[filter:translogger]
78use = egg:Paste#translogger
79setup_console_handler = False
80logger_name = wsgi
81
[10919]82[app:content]
[8796]83use = egg:${kofa_params:devel_pkg}
[5493]84filter-with = translogger
85
[10919]86[app:static]
87use = egg:Paste#static
88document_root = %(LAYOUT_DIR)s/static/
89
[11095]90[app:static_custom]
91use = egg:Paste#static
92document_root = %(LAYOUT_CUSTOM_DIR)s/static/
93
[10919]94[composite:main]
95use = egg:Paste#urlmap
[11043]96/static = static
[11095]97/static_custom = static_custom
[10919]98/ = default
99
[5493]100[server:main]
101use = egg:Paste#http
[8662]102host = ${kofa_params:host}
103port = ${kofa_params:base_port}
[5493]104
[10919]105[filter:theme]
106use = egg:diazo
[11095]107rules = file:///%(LAYOUT_CUSTOM_DIR)s/rules.xml
[11044]108prefix = /
[10919]109doctype = <!DOCTYPE html>
[10951]110# set to true, if you want rules.xml being rebuild on each request
[10919]111debug = false
112
113[pipeline:default]
114pipeline = theme
115           content
116
[5493]117[DEFAULT]
118# set the name of the zope.conf file
119zope_conf = %(here)s/zope.conf
[9217]120env_vars = ZC_ASYNC_UUID ${buildout:directory}/var/uuid1.txt
[10919]121# the directory where all real diazo config is done (no trailing slash)
[11095]122LAYOUT_DIR = ${buildout:directory}/sources/waeup.kofa/layout
[10919]123STATIC_DIR = %(LAYOUT_DIR)s/static
[11095]124LAYOUT_CUSTOM_DIR = ${buildout:directory}/layout
125STATIC_CUSTOM_DIR = %(LAYOUT_CUSTOM_DIR)s/static
Note: See TracBrowser for help on using the repository browser.