homelab/roles/synapse/templates/log.config.j2

23 lines
500 B
Text
Raw Normal View History

2024-10-03 00:29:14 +05:00
version: 1
formatters:
precise:
format: '%(asctime)s - %(name)s - %(lineno)d - %(levelname)s - %(request)s - %(message)s'
handlers:
console:
class: logging.StreamHandler
formatter: precise
loggers:
synapse.storage.SQL:
# beware: increasing this to DEBUG will make synapse log sensitive
# information such as access tokens.
level: {{ log_level }}
2024-10-03 00:29:14 +05:00
root:
level: {{ log_level }}
2024-10-03 00:29:14 +05:00
handlers: [console]
disable_existing_loggers: false