source: main/waeup.aaue/trunk/etc/deploy.ini.in @ 9601

Last change on this file since 9601 was 9583, checked in by Henrik Bettermann, 12 years ago

Add missing async sections.

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