cubicweb/server/__init__.py
changeset 12716 f5300acd8f4f
parent 12567 26744ad37953
child 12950 e5ecb1a152f0
equal deleted inserted replaced
12715:d59570643a49 12716:f5300acd8f4f
    61 DBG_RQL = 1
    61 DBG_RQL = 1
    62 #: executed sql
    62 #: executed sql
    63 DBG_SQL = 2
    63 DBG_SQL = 2
    64 #: repository events
    64 #: repository events
    65 DBG_REPO = 4
    65 DBG_REPO = 4
    66 #: multi-sources
       
    67 DBG_MS = 8
       
    68 #: hooks
    66 #: hooks
    69 DBG_HOOKS = 16
    67 DBG_HOOKS = 16
    70 #: operations
    68 #: operations
    71 DBG_OPS = 32
    69 DBG_OPS = 32
    72 #: security
    70 #: security
    73 DBG_SEC = 64
    71 DBG_SEC = 64
    74 #: more verbosity
    72 #: more verbosity
    75 DBG_MORE = 128
    73 DBG_MORE = 128
    76 #: all level enabled
    74 #: all level enabled
    77 DBG_ALL = DBG_RQL + DBG_SQL + DBG_REPO + DBG_MS + DBG_HOOKS + DBG_OPS + DBG_SEC + DBG_MORE
    75 DBG_ALL = DBG_RQL + DBG_SQL + DBG_REPO + DBG_HOOKS + DBG_OPS + DBG_SEC + DBG_MORE
    78 
    76 
    79 _SECURITY_ITEMS = []
    77 _SECURITY_ITEMS = []
    80 _SECURITY_CAPS = ['read', 'add', 'update', 'delete', 'transition']
    78 _SECURITY_CAPS = ['read', 'add', 'update', 'delete', 'transition']
    81 
    79 
    82 #: current debug mode
    80 #: current debug mode