source: main/waeup.kofa/branches/uli-zc-async/etc/deploy.ini.in @ 10029

Last change on this file since 10029 was 9211, checked in by uli, 12 years ago

Rollback r9209. Looks like multiple merges from trunk confuse svn when merging back into trunk.

File size: 1.6 KB
RevLine 
[5493]1# deploy.ini
2#
3# Deployment configuration for use with paster/WSGI
4#
5
6[loggers]
[8919]7keys = root, wsgi, async, async_trace
[5493]8
9[handlers]
[8919]10keys = 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
21handlers = accesslog
22qualname = wsgi
23propagate = 0
24
[8919]25[logger_async]
26level = INFO
27handlers = asynclog
28qualname = zc.async
29propagate = 0
30
31[logger_async_trace]
32level = INFO
33handlers = async_tracelog
34qualname = zc.async.trace
35propagate = 0
36
[5493]37[handler_console]
38class = StreamHandler
39args = (sys.stderr,)
40level = NOTSET
41formatter = generic
42
43[handler_accesslog]
44class = FileHandler
45args = (os.path.join(r'${zope_conf:logfiles}', 'access.log'),
46        'a')
47level = INFO
48formatter = accesslog
49
[8919]50[handler_asynclog]
51class = FileHandler
52args = (os.path.join(r'${zope_conf:logfiles}', 'async.log'),
53        'a')
54level = INFO
55formatter = generic
56
57[handler_async_tracelog]
58class = FileHandler
59args = (os.path.join(r'${zope_conf:logfiles}', 'async_trace.log'),
60        'a')
61level = INFO
62formatter = generic
63
[5493]64[formatter_generic]
65format = %(asctime)s %(levelname)s [%(name)s] %(message)s
66
67[formatter_accesslog]
68format = %(message)s
69
70[filter:translogger]
71use = egg:Paste#translogger
72setup_console_handler = False
73logger_name = wsgi
74
75[app:main]
[9211]76use = egg:waeup.kofa
[5493]77filter-with = translogger
78
79[server:main]
80use = egg:Paste#http
[8662]81host = ${kofa_params:host}
82port = ${kofa_params:base_port}
[5493]83
84[DEFAULT]
85# set the name of the zope.conf file
86zope_conf = %(here)s/zope.conf
[8919]87env_vars = ZC_ASYNC_UUID ${buildout:directory}/var/uuid1.txt
Note: See TracBrowser for help on using the repository browser.