matrix-docker-compose/ansible/roles/synapse/files/basedir/config/log.yaml

43 lines
683 B
YAML
Raw Normal View History

2023-09-27 10:26:37 +00:00
version: 1
formatters:
fmt:
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: fmt
filters: [context]
2023-12-04 10:39:28 +00:00
file:
class: logging.handlers.TimedRotatingFileHandler
formatter: fmt
filename: /logs/homeserver.log
when: midnight
backupCount: 3
encoding: utf8
2023-09-27 10:26:37 +00:00
root:
level: INFO
2023-12-04 10:39:28 +00:00
handlers:
- console
- file
2023-09-27 10:26:37 +00:00
loggers:
synapse:
level: INFO
synapse.storage.SQL:
level: INFO
ldap3:
level: INFO
ldap_auth_provider:
level: INFO