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:
1.1 KB
|
Line | |
---|
1 | # deploy.ini |
---|
2 | # |
---|
3 | # Deployment configuration for use with paster/WSGI |
---|
4 | # |
---|
5 | |
---|
6 | [loggers] |
---|
7 | keys = root, wsgi |
---|
8 | |
---|
9 | [handlers] |
---|
10 | keys = console, accesslog |
---|
11 | |
---|
12 | [formatters] |
---|
13 | keys = generic, accesslog |
---|
14 | |
---|
15 | [logger_root] |
---|
16 | level = INFO |
---|
17 | handlers = console |
---|
18 | |
---|
19 | [logger_wsgi] |
---|
20 | level = INFO |
---|
21 | handlers = accesslog |
---|
22 | qualname = wsgi |
---|
23 | propagate = 0 |
---|
24 | |
---|
25 | [handler_console] |
---|
26 | class = StreamHandler |
---|
27 | args = (sys.stderr,) |
---|
28 | level = NOTSET |
---|
29 | formatter = generic |
---|
30 | |
---|
31 | [handler_accesslog] |
---|
32 | class = FileHandler |
---|
33 | args = (os.path.join(r'${zope_conf:logfiles}', 'zeo2.log'), |
---|
34 | 'a') |
---|
35 | level = INFO |
---|
36 | formatter = accesslog |
---|
37 | |
---|
38 | [formatter_generic] |
---|
39 | format = %(asctime)s %(levelname)s [%(name)s] %(message)s |
---|
40 | |
---|
41 | [formatter_accesslog] |
---|
42 | format = %(message)s |
---|
43 | |
---|
44 | [filter:translogger] |
---|
45 | use = egg:Paste#translogger |
---|
46 | setup_console_handler = False |
---|
47 | logger_name = wsgi |
---|
48 | |
---|
49 | [app:main] |
---|
50 | use = egg:waeup.aaue |
---|
51 | filter-with = translogger |
---|
52 | |
---|
53 | [server:main] |
---|
54 | use = egg:Paste#http |
---|
55 | host = ${kofa_params:host} |
---|
56 | port = ${kofa_params:zeo2_port} |
---|
57 | threadpool_workers = ${kofa_params:threadpool_workers} |
---|
58 | use_threadpool = True |
---|
59 | |
---|
60 | [DEFAULT] |
---|
61 | # set the name of the zope.conf file |
---|
62 | zope_conf = %(here)s/zope_zeo2.conf |
---|
Note: See
TracBrowser for help on using the repository browser.