Skip to content
Snippets Groups Projects
Select Git revision
  • master
1 result

development.ini

Blame
  • Bruce Flynn's avatar
    Bruce Flynn authored
    89ac3a84
    History
    development.ini 1.31 KiB
    ###
    # app configuration
    # https://docs.pylonsproject.org/projects/pyramid/en/1.10-branch/narr/environment.html
    ###
    
    [app:main]
    use = egg:api
    
    pyramid.reload_templates = true
    pyramid.debug_authorization = true
    pyramid.debug_notfound = false
    pyramid.debug_routematch = false
    pyramid.default_locale_name = en
    pyramid_includes =
        pyramid_debugtoolbar
    
    # By default, the toolbar only appears for clients from IP addresses
    # '127.0.0.1' and '::1'.
    # debugtoolbar.hosts = 127.0.0.1 ::1
    debubtoolbar.enabled = True
    
    # Keycloak client ID, a.k.a, jwt.audience
    oidc.client_id = vue-test
    # OpenID config endpoint. Used to get public key
    oidc.configurl = http://localhost:8081/auth/realms/Vue%%20Test%%20Realm/.well-known/openid-configuration
    
    ###
    # wsgi server configuration
    ###
    
    [server:main]
    use = egg:waitress#main
    listen = localhost:6543
    
    ###
    # logging configuration
    # https://docs.pylonsproject.org/projects/pyramid/en/1.10-branch/narr/logging.html
    ###
    
    [loggers]
    keys = root, api
    
    [handlers]
    keys = console
    
    [formatters]
    keys = generic
    
    [logger_root]
    level = INFO
    handlers = console
    
    [logger_api]
    level = DEBUG
    handlers =
    qualname = api
    
    [handler_console]
    class = StreamHandler
    args = (sys.stderr,)
    level = NOTSET
    formatter = generic
    
    [formatter_generic]
    format = %(asctime)s %(levelname)-5.5s [%(name)s:%(lineno)s][%(threadName)s] %(message)s