matrix-synapse/log.config.tmpl

21 lines
383 B
Cheetah
Raw Normal View History

2021-12-13 11:39:19 +00:00
version: 1
formatters:
2021-12-13 11:42:40 +00:00
precise:
format: '%(asctime)s - %(name)s - %(lineno)d - %(levelname)s - %(request)s - %(message)s'
2021-12-13 11:39:19 +00:00
handlers:
2021-12-13 11:42:40 +00:00
console:
class: logging.StreamHandler
formatter: precise
2021-12-13 11:39:19 +00:00
loggers:
synapse.storage.SQL:
level: {{ env "SQL_LOG_LEVEL" }}
2021-12-13 11:39:19 +00:00
root:
level: {{ env "ROOT_LOG_LEVEL" }}
2021-12-13 11:42:40 +00:00
handlers: [console]
2021-12-13 11:39:19 +00:00
disable_existing_loggers: false