source: main/waeup.kwarapoly/trunk/etc/debug.ini.in @ 9583

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

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

File size: 1.3 KB
RevLine 
[5493]1# debug.ini
2#
3# Debugging configuration for use with paster/WSGI
4#
5
6[loggers]
[9579]7# add 'wsgi' if you want the access.log to be generated
8keys = root, async, async_trace
[5493]9
10[handlers]
11keys = console, accesslog
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
22[handler_console]
23class = StreamHandler
24args = (sys.stderr,)
25level = NOTSET
26formatter = generic
27
28[handler_accesslog]
29class = FileHandler
30args = (os.path.join(r'${zope_conf:logfiles}', 'access.log'),
31        'a')
32level = INFO
33formatter = accesslog
34
35[logger_root]
36level = INFO
37handlers = console
38
39[logger_wsgi]
40level = INFO
41handlers = accesslog
42qualname = wsgi
43propagate = 0
44
45[filter:translogger]
46use = egg:Paste#translogger
47setup_console_handler = False
48logger_name = wsgi
49
50[filter-app:main]
51# Change the last part from 'ajax' to 'pdb' for a post-mortem debugger
52# on the console:
53use = egg:z3c.evalexception#ajax
54next = zope
55
56[app:zope]
[9347]57use = egg:waeup.kwarapoly#debug
[5493]58filter-with = translogger
59exempt-exceptions = zope.security.interfaces.IUnauthorized
60
61[server:main]
62use = egg:Paste#http
[8772]63host = ${kofa_params:host}
64port = ${kofa_params:base_port}
[5493]65
66[DEFAULT]
67# set the name of the zope.conf file
[9224]68zope_conf = %(here)s/zope.conf
69env_vars = ZC_ASYNC_UUID ${buildout:directory}/var/uuid1.txt
Note: See TracBrowser for help on using the repository browser.