source: main/waeup.uniben/branches/uli-autoinclude-less/etc/zeo1.ini.in @ 8882

Last change on this file since 8882 was 8770, checked in by Henrik Bettermann, 13 years ago

Set main parameters in one buildout section.

File size: 1.1 KB
Line 
1# deploy.ini
2#
3# Deployment configuration for use with paster/WSGI
4#
5
6[loggers]
7keys = root, wsgi
8
9[handlers]
10keys = console, accesslog
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[handler_accesslog]
32class = FileHandler
33args = (os.path.join(r'${zope_conf:logfiles}', 'zeo1.log'),
34        'a')
35level = INFO
36formatter = accesslog
37
38[formatter_generic]
39format = %(asctime)s %(levelname)s [%(name)s] %(message)s
40
41[formatter_accesslog]
42format = %(message)s
43
44[filter:translogger]
45use = egg:Paste#translogger
46setup_console_handler = False
47logger_name = wsgi
48
49[app:main]
50use = egg:waeup.uniben
51filter-with = translogger
52
53[server:main]
54use = egg:Paste#http
55host = ${kofa_params:host}
56port = ${kofa_params:zeo1_port}
57threadpool_workers = ${kofa_params:threadpool_workers}
58use_threadpool = True
59
60[DEFAULT]
61# set the name of the zope.conf file
62zope_conf = %(here)s/zope_zeo1.conf
Note: See TracBrowser for help on using the repository browser.