- Timestamp:
- 28 Feb 2012, 10:14:55 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/branches/ulif-groktoolkit-1.4/etc/debug.ini.in
r5677 r7713 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] 56 use = egg:waeup.sirp#debug 57 filter-with = translogger 58 exempt-exceptions = zope.security.interfaces.IUnauthorized 1 [DEFAULT] 2 zope_conf = %(here)s/zope.conf 59 3 60 4 [server:main] … … 63 7 port = 8080 64 8 65 [DEFAULT] 66 # set the name of the zope.conf file 67 zope_conf = %(here)s/zope.conf 9 [pipeline:main] 10 pipeline = accesslogging evalexception fanstatic grok 11 12 [filter:accesslogging] 13 use = egg:Paste#translogger 14 15 [filter:evalexception] 16 use = egg:z3c.evalexception#ajax 17 18 [filter:fanstatic] 19 use = egg:fanstatic#fanstatic 20 versioning = true 21 recompute_hashes = true 22 23 [app:grok] 24 use = egg:grokcore.startup#debug 25 exempt-exceptions = zope.security.interfaces.IUnauthorized 26 27 # Logging configuration 28 29 [loggers] 30 keys = root 31 32 [logger_root] 33 level = DEBUG 34 handlers = console 35 36 [handlers] 37 keys = console 38 39 [handler_console] 40 class = StreamHandler 41 args = (sys.stderr,) 42 level = DEBUG 43 formatter = generic 44 45 [formatters] 46 keys = generic 47 48 [formatter_generic] 49 format = %(asctime)s %(levelname)s [%(name)s] %(message)s
Note: See TracChangeset for help on using the changeset viewer.