source: main/waeup.sirp/trunk/etc/debug.ini.in @ 8794

Last change on this file since 8794 was 5677, checked in by Henrik Bettermann, 14 years ago

Change host address to ebable access through LAN.

File size: 1.2 KB
Line 
1# debug.ini
2#
3# Debugging configuration for use with paster/WSGI
4#
5
6[loggers]
7keys = root, wsgi
8
9[handlers]
10keys = console, accesslog
11
12[formatters]
13keys = generic, accesslog
14
15[formatter_generic]
16format = %(asctime)s %(levelname)s [%(name)s] %(message)s
17
18[formatter_accesslog]
19format = %(message)s
20
21[handler_console]
22class = StreamHandler
23args = (sys.stderr,)
24level = NOTSET
25formatter = generic
26
27[handler_accesslog]
28class = FileHandler
29args = (os.path.join(r'${zope_conf:logfiles}', 'access.log'),
30        'a')
31level = INFO
32formatter = accesslog
33
34[logger_root]
35level = INFO
36handlers = console
37
38[logger_wsgi]
39level = INFO
40handlers = accesslog
41qualname = wsgi
42propagate = 0
43
44[filter:translogger]
45use = egg:Paste#translogger
46setup_console_handler = False
47logger_name = wsgi
48
49[filter-app:main]
50# Change the last part from 'ajax' to 'pdb' for a post-mortem debugger
51# on the console:
52use = egg:z3c.evalexception#ajax
53next = zope
54
55[app:zope]
56use = egg:waeup.sirp#debug
57filter-with = translogger
58exempt-exceptions = zope.security.interfaces.IUnauthorized
59
60[server:main]
61use = egg:Paste#http
62host = 0.0.0.0
63port = 8080
64
65[DEFAULT]
66# set the name of the zope.conf file
67zope_conf = %(here)s/zope.conf
Note: See TracBrowser for help on using the repository browser.