Last change
on this file was
11398,
checked in by Henrik Bettermann, 11 years ago
|
One never knows if FUTMinna comes back:
Diazofied whole package.
Removed sphinx docs.
Added generic install instructions.
|
File size:
1.8 KB
|
Line | |
---|
1 | # debug.ini |
---|
2 | # |
---|
3 | # Debugging configuration for use with paster/WSGI |
---|
4 | # |
---|
5 | |
---|
6 | [loggers] |
---|
7 | keys = root, wsgi |
---|
8 | |
---|
9 | [handlers] |
---|
10 | keys = console, accesslog, asynclog, async_tracelog |
---|
11 | |
---|
12 | [formatters] |
---|
13 | keys = generic, accesslog |
---|
14 | |
---|
15 | [formatter_generic] |
---|
16 | format = %(asctime)s %(levelname)s [%(name)s] %(message)s |
---|
17 | |
---|
18 | [formatter_accesslog] |
---|
19 | format = %(message)s |
---|
20 | |
---|
21 | [handler_asynclog] |
---|
22 | class = FileHandler |
---|
23 | args = (os.path.join(r'${zope_conf:logfiles}', 'async.log'), |
---|
24 | 'a') |
---|
25 | level = INFO |
---|
26 | formatter = generic |
---|
27 | |
---|
28 | [handler_async_tracelog] |
---|
29 | class = FileHandler |
---|
30 | args = (os.path.join(r'${zope_conf:logfiles}', 'async_trace.log'), |
---|
31 | 'a') |
---|
32 | level = INFO |
---|
33 | formatter = generic |
---|
34 | |
---|
35 | [handler_console] |
---|
36 | class = StreamHandler |
---|
37 | args = (sys.stderr,) |
---|
38 | level = NOTSET |
---|
39 | formatter = generic |
---|
40 | |
---|
41 | [handler_accesslog] |
---|
42 | class = FileHandler |
---|
43 | args = (os.path.join(r'${zope_conf:logfiles}', 'access.log'), |
---|
44 | 'a') |
---|
45 | level = INFO |
---|
46 | formatter = accesslog |
---|
47 | |
---|
48 | [logger_root] |
---|
49 | level = INFO |
---|
50 | handlers = console |
---|
51 | |
---|
52 | [logger_wsgi] |
---|
53 | level = INFO |
---|
54 | handlers = accesslog |
---|
55 | qualname = wsgi |
---|
56 | propagate = 0 |
---|
57 | |
---|
58 | [logger_async] |
---|
59 | level = INFO |
---|
60 | handlers = asynclog |
---|
61 | qualname = zc.async |
---|
62 | propagate = 0 |
---|
63 | |
---|
64 | [logger_async_trace] |
---|
65 | level = INFO |
---|
66 | handlers = async_tracelog |
---|
67 | qualname = zc.async.trace |
---|
68 | propagate = 0 |
---|
69 | |
---|
70 | [filter:translogger] |
---|
71 | use = egg:Paste#translogger |
---|
72 | setup_console_handler = False |
---|
73 | logger_name = wsgi |
---|
74 | |
---|
75 | [filter-app:main] |
---|
76 | # Change the last part from 'ajax' to 'pdb' for a post-mortem debugger |
---|
77 | # on the console: |
---|
78 | use = egg:z3c.evalexception#ajax |
---|
79 | next = zope |
---|
80 | |
---|
81 | [app:zope] |
---|
82 | use = egg:${kofa_params:devel_pkg}#debug |
---|
83 | filter-with = translogger |
---|
84 | exempt-exceptions = zope.security.interfaces.IUnauthorized |
---|
85 | |
---|
86 | [server:main] |
---|
87 | use = egg:Paste#http |
---|
88 | host = ${kofa_params:host} |
---|
89 | port = ${kofa_params:base_port} |
---|
90 | |
---|
91 | [DEFAULT] |
---|
92 | # set the name of the zope.conf file |
---|
93 | zope_conf = %(here)s/zope.conf |
---|
94 | env_vars = ZC_ASYNC_UUID ${buildout:directory}/var/uuid1.txt |
---|
Note: See
TracBrowser for help on using the repository browser.