source: main/waeup.kofa/trunk/etc/zeo2.ini.in @ 9770

Last change on this file since 9770 was 9217, checked in by uli, 12 years ago

Merge changes from uli-async-update back into trunk.

File size: 1.7 KB
Line 
1# deploy.ini
2#
3# Deployment configuration for use with paster/WSGI
4#
5
6[loggers]
7keys = root, wsgi, async, async_trace
8
9[handlers]
10keys = console, accesslog, asynclog, async_tracelog
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
25[handler_console]
26class = StreamHandler
27args = (sys.stderr,)
28level = NOTSET
29formatter = generic
30
31[logger_async]
32level = INFO
33handlers = asynclog
34qualname = zc.async
35propagate = 0
36
37[logger_async_trace]
38level = INFO
39handlers = async_tracelog
40qualname = zc.async.trace
41propagate = 0
42
43[handler_accesslog]
44class = FileHandler
45args = (os.path.join(r'${zope_conf:logfiles}', 'zeo2.log'),
46        'a')
47level = INFO
48formatter = accesslog
49
50[handler_asynclog]
51class = FileHandler
52args = (os.path.join(r'${zope_conf:logfiles}', 'zeo2_async.log'),
53        'a')
54level = INFO
55formatter = generic
56
57[handler_async_tracelog]
58class = FileHandler
59args = (os.path.join(r'${zope_conf:logfiles}', 'zeo2_async_trace.log'),
60        'a')
61level = INFO
62formatter = generic
63
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]
76use = egg:${kofa_params:devel_pkg}
77filter-with = translogger
78
79[server:main]
80use = egg:Paste#http
81host = ${kofa_params:host}
82port = ${kofa_params:zeo2_port}
83threadpool_workers = ${kofa_params:threadpool_workers}
84use_threadpool = True
85
86[DEFAULT]
87# set the name of the zope.conf file
88zope_conf = %(here)s/zope_zeo2.conf
89env_vars = ZC_ASYNC_UUID ${buildout:directory}/var/uuid2.txt
Note: See TracBrowser for help on using the repository browser.