Last change
on this file since 9297 was
9224,
checked in by Henrik Bettermann, 12 years ago
|
Adjust configuration to trunk merged with uli-zc-async.
|
File size:
1.0 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}', 'access.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.fceokene |
---|
51 | filter-with = translogger |
---|
52 | |
---|
53 | [server:main] |
---|
54 | use = egg:Paste#http |
---|
55 | host = ${kofa_params:host} |
---|
56 | port = ${kofa_params:base_port} |
---|
57 | |
---|
58 | [DEFAULT] |
---|
59 | # set the name of the zope.conf file |
---|
60 | zope_conf = %(here)s/zope.conf |
---|
61 | env_vars = ZC_ASYNC_UUID ${buildout:directory}/var/uuid1.txt |
---|
Note: See
TracBrowser for help on using the repository browser.