matrix-public-archive/test/dockerfiles/synapse/log_config.yaml

30 lines
569 B
YAML
Raw Normal View History

version: 1
formatters:
precise:
format: '%(asctime)s - %(name)s - %(lineno)d - %(levelname)s - %(request)s - %(message)s'
filters:
context:
(): synapse.logging.context.LoggingContextFilter
request: ""
handlers:
console:
class: logging.StreamHandler
formatter: precise
filters: [context]
# log to stdout, for easier use with 'docker logs'
stream: 'ext://sys.stdout'
# loggers:
# synapse.rest.media.v1.thumbnail_resource:
# level: DEBUG
root:
level: INFO
handlers: [console]
disable_existing_loggers: false