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

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

Set main parameters in one buildout section.

File size: 1005 bytes
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}', 'access.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.aaue
51filter-with = translogger
52
53[server:main]
54use = egg:Paste#http
55host = ${kofa_params:host}
56port = ${kofa_params:base_port}
57
58[DEFAULT]
59# set the name of the zope.conf file
60zope_conf = %(here)s/zope.conf
Note: See TracBrowser for help on using the repository browser.