Last change
on this file since 9525 was
9224,
checked in by Henrik Bettermann, 12 years ago
|
Adjust configuration to trunk merged with uli-zc-async.
|
File size:
1.3 KB
|
Rev | Line | |
---|
[5493] | 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 |
---|
| 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_console] |
---|
| 22 | class = StreamHandler |
---|
| 23 | args = (sys.stderr,) |
---|
| 24 | level = NOTSET |
---|
| 25 | formatter = generic |
---|
| 26 | |
---|
| 27 | [handler_accesslog] |
---|
| 28 | class = FileHandler |
---|
| 29 | args = (os.path.join(r'${zope_conf:logfiles}', 'access.log'), |
---|
| 30 | 'a') |
---|
| 31 | level = INFO |
---|
| 32 | formatter = accesslog |
---|
| 33 | |
---|
| 34 | [logger_root] |
---|
| 35 | level = INFO |
---|
| 36 | handlers = console |
---|
| 37 | |
---|
| 38 | [logger_wsgi] |
---|
| 39 | level = INFO |
---|
| 40 | handlers = accesslog |
---|
| 41 | qualname = wsgi |
---|
| 42 | propagate = 0 |
---|
| 43 | |
---|
| 44 | [filter:translogger] |
---|
| 45 | use = egg:Paste#translogger |
---|
| 46 | setup_console_handler = False |
---|
| 47 | logger_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: |
---|
| 52 | use = egg:z3c.evalexception#ajax |
---|
| 53 | next = zope |
---|
| 54 | |
---|
| 55 | [app:zope] |
---|
[8461] | 56 | use = egg:waeup.fceokene#debug |
---|
[5493] | 57 | filter-with = translogger |
---|
| 58 | exempt-exceptions = zope.security.interfaces.IUnauthorized |
---|
| 59 | |
---|
| 60 | [server:main] |
---|
| 61 | use = egg:Paste#http |
---|
[8772] | 62 | host = ${kofa_params:host} |
---|
| 63 | port = ${kofa_params:base_port} |
---|
[5493] | 64 | |
---|
| 65 | [DEFAULT] |
---|
| 66 | # set the name of the zope.conf file |
---|
[9224] | 67 | zope_conf = %(here)s/zope.conf |
---|
| 68 | env_vars = ZC_ASYNC_UUID ${buildout:directory}/var/uuid1.txt |
---|
Note: See
TracBrowser for help on using the repository browser.