Last change
on this file since 9593 was
9588,
checked in by Henrik Bettermann, 12 years ago
|
Add missing async sections. Rollback changes in debug.ini.in.
|
File size:
1.6 KB
|
Line | |
---|
1 | # deploy.ini |
---|
2 | # |
---|
3 | # Deployment configuration for use with paster/WSGI |
---|
4 | # |
---|
5 | |
---|
6 | [loggers] |
---|
7 | # add 'wsgi' if you want the access.log to be generated |
---|
8 | keys = root, async, async_trace |
---|
9 | |
---|
10 | [handlers] |
---|
11 | keys = console, accesslog, asynclog, async_tracelog |
---|
12 | |
---|
13 | [formatters] |
---|
14 | keys = generic, accesslog |
---|
15 | |
---|
16 | [logger_root] |
---|
17 | level = INFO |
---|
18 | handlers = console |
---|
19 | |
---|
20 | [logger_wsgi] |
---|
21 | level = INFO |
---|
22 | handlers = accesslog |
---|
23 | qualname = wsgi |
---|
24 | propagate = 0 |
---|
25 | |
---|
26 | [logger_async] |
---|
27 | level = INFO |
---|
28 | handlers = asynclog |
---|
29 | qualname = zc.async |
---|
30 | propagate = 0 |
---|
31 | |
---|
32 | [logger_async_trace] |
---|
33 | level = INFO |
---|
34 | handlers = async_tracelog |
---|
35 | qualname = zc.async.trace |
---|
36 | propagate = 0 |
---|
37 | |
---|
38 | [handler_console] |
---|
39 | class = StreamHandler |
---|
40 | args = (sys.stderr,) |
---|
41 | level = NOTSET |
---|
42 | formatter = generic |
---|
43 | |
---|
44 | [handler_accesslog] |
---|
45 | class = FileHandler |
---|
46 | args = (os.path.join(r'${zope_conf:logfiles}', 'access.log'), |
---|
47 | 'a') |
---|
48 | level = INFO |
---|
49 | formatter = accesslog |
---|
50 | |
---|
51 | [handler_asynclog] |
---|
52 | class = FileHandler |
---|
53 | args = (os.path.join(r'${zope_conf:logfiles}', 'async.log'), |
---|
54 | 'a') |
---|
55 | level = INFO |
---|
56 | formatter = generic |
---|
57 | |
---|
58 | [handler_async_tracelog] |
---|
59 | class = FileHandler |
---|
60 | args = (os.path.join(r'${zope_conf:logfiles}', 'async_trace.log'), |
---|
61 | 'a') |
---|
62 | level = INFO |
---|
63 | formatter = generic |
---|
64 | |
---|
65 | [formatter_generic] |
---|
66 | format = %(asctime)s %(levelname)s [%(name)s] %(message)s |
---|
67 | |
---|
68 | [formatter_accesslog] |
---|
69 | format = %(message)s |
---|
70 | |
---|
71 | [filter:translogger] |
---|
72 | use = egg:Paste#translogger |
---|
73 | setup_console_handler = False |
---|
74 | logger_name = wsgi |
---|
75 | |
---|
76 | [app:main] |
---|
77 | use = egg:waeup.kwarapoly |
---|
78 | filter-with = translogger |
---|
79 | |
---|
80 | [server:main] |
---|
81 | use = egg:Paste#http |
---|
82 | host = ${kofa_params:host} |
---|
83 | port = ${kofa_params:base_port} |
---|
84 | |
---|
85 | [DEFAULT] |
---|
86 | # set the name of the zope.conf file |
---|
87 | zope_conf = %(here)s/zope.conf |
---|
88 | env_vars = ZC_ASYNC_UUID ${buildout:directory}/var/uuid1.txt |
---|
Note: See
TracBrowser for help on using the repository browser.