source: main/waeup.kofa/trunk/etc/debug.ini.in @ 9591

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

Disable developer mode. Disable access.log in deploy-config.

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