Ignore:
Timestamp:
28 Feb 2012, 10:14:55 (13 years ago)
Author:
uli
Message:

Some modifications that make it possible at least to create a new university with Grok toolkit 1.4 (grok 1.6)

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]
     2zope_conf = %(here)s/zope.conf
    593
    604[server:main]
     
    637port = 8080
    648
    65 [DEFAULT]
    66 # set the name of the zope.conf file
    67 zope_conf = %(here)s/zope.conf
     9[pipeline:main]
     10pipeline = accesslogging evalexception fanstatic grok
     11
     12[filter:accesslogging]
     13use = egg:Paste#translogger
     14
     15[filter:evalexception]
     16use = egg:z3c.evalexception#ajax
     17
     18[filter:fanstatic]
     19use = egg:fanstatic#fanstatic
     20versioning = true
     21recompute_hashes = true
     22
     23[app:grok]
     24use = egg:grokcore.startup#debug
     25exempt-exceptions = zope.security.interfaces.IUnauthorized
     26
     27# Logging configuration
     28
     29[loggers]
     30keys = root
     31
     32[logger_root]
     33level = DEBUG
     34handlers = console
     35
     36[handlers]
     37keys = console
     38
     39[handler_console]
     40class = StreamHandler
     41args = (sys.stderr,)
     42level = DEBUG
     43formatter = generic
     44
     45[formatters]
     46keys = generic
     47
     48[formatter_generic]
     49format = %(asctime)s %(levelname)s [%(name)s] %(message)s
Note: See TracChangeset for help on using the changeset viewer.