123 lines
3.0 KiB
YAML
123 lines
3.0 KiB
YAML
BASE: https://zididp.uni-graz.at
|
|
|
|
COOKIE_STATE_NAME: "SATOSA_STATE"
|
|
CONTEXT_STATE_DELETE: yes
|
|
STATE_ENCRYPTION_KEY: "***"
|
|
|
|
cookies_samesite_compat:
|
|
- ["SATOSA_STATE", "SATOSA_STATE_LEGACY"]
|
|
|
|
INTERNAL_ATTRIBUTES: "internal_attributes.yaml"
|
|
|
|
BACKEND_MODULES:
|
|
- "plugins/saml2_backend.yaml"
|
|
|
|
FRONTEND_MODULES:
|
|
- "plugins/saml2_frontend.yaml"
|
|
|
|
MICRO_SERVICES:
|
|
- "plugins/static_attributes.yaml"
|
|
- "plugins/eduPersonTargetedID.yaml"
|
|
- "plugins/eduPersonEntitlement.yaml"
|
|
- "plugins/eduPersonUniqueId.yaml"
|
|
- "plugins/schacPersonalUniqueCode.yaml"
|
|
- "plugins/attribute_policy.yaml"
|
|
|
|
LOGGING:
|
|
version: 1
|
|
formatters:
|
|
debug:
|
|
format: "[%(asctime)s] [%(levelname)s] %(filename)s:%(lineno)d [%(name)s.%(funcName)s] %(message)s"
|
|
simple:
|
|
format: "[%(asctime)s] [%(levelname)s] [%(name)s.%(funcName)s] %(message)s"
|
|
handlers:
|
|
stdout:
|
|
class: logging.StreamHandler
|
|
stream: "ext://sys.stdout"
|
|
level: DEBUG
|
|
formatter: debug
|
|
syslog:
|
|
class: logging.handlers.SysLogHandler
|
|
address: "/dev/log"
|
|
level: DEBUG
|
|
formatter: simple
|
|
satosa_debug_file:
|
|
class: logging.handlers.RotatingFileHandler
|
|
filename: logs/satosa-debug.log
|
|
encoding: utf8
|
|
maxBytes: 1048576 # 1MB
|
|
backupCount: 1
|
|
level: DEBUG
|
|
formatter: debug
|
|
satosa_info_file:
|
|
class: logging.handlers.RotatingFileHandler
|
|
filename: logs/satosa-info.log
|
|
encoding: utf8
|
|
maxBytes: 1048576 # 1MB
|
|
backupCount: 10
|
|
level: INFO
|
|
formatter: simple
|
|
satosa_warn_file:
|
|
class: logging.handlers.RotatingFileHandler
|
|
filename: logs/satosa-warn.log
|
|
encoding: utf8
|
|
maxBytes: 1048576 # 1MB
|
|
backupCount: 10
|
|
level: WARN
|
|
formatter: simple
|
|
satosa_error_file:
|
|
class: logging.handlers.RotatingFileHandler
|
|
filename: logs/satosa-error.log
|
|
encoding: utf8
|
|
maxBytes: 1048576 # 1MB
|
|
backupCount: 10
|
|
level: ERROR
|
|
formatter: simple
|
|
|
|
info_file:
|
|
class: logging.handlers.RotatingFileHandler
|
|
filename: logs/info.log
|
|
encoding: utf8
|
|
maxBytes: 1048576 # 1MB
|
|
backupCount: 10
|
|
level: INFO
|
|
formatter: simple
|
|
warn_file:
|
|
class: logging.handlers.RotatingFileHandler
|
|
filename: logs/warn.log
|
|
encoding: utf8
|
|
maxBytes: 1048576 # 1MB
|
|
backupCount: 10
|
|
level: WARN
|
|
formatter: simple
|
|
error_file:
|
|
class: logging.handlers.RotatingFileHandler
|
|
filename: logs/error.log
|
|
encoding: utf8
|
|
maxBytes: 1048576 # 1MB
|
|
backupCount: 10
|
|
level: ERROR
|
|
formatter: simple
|
|
loggers:
|
|
satosa:
|
|
level: DEBUG
|
|
handlers:
|
|
- satosa_debug_file
|
|
- satosa_info_file
|
|
- satosa_warn_file
|
|
- satosa_error_file
|
|
saml2:
|
|
level: WARN
|
|
handlers:
|
|
- info_file
|
|
- warn_file
|
|
- error_file
|
|
oidcendpoint:
|
|
level: WARN
|
|
pyop:
|
|
level: WARN
|
|
oic:
|
|
level: WARN
|
|
root:
|
|
level: WARN
|