22 lines
653 B
YAML
22 lines
653 B
YAML
|
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:
|
||
|
# This is just here so we can leave `loggers` in the config regardless of whether
|
||
|
# we configure other loggers below (avoid empty yaml dict error).
|
||
|
_placeholder:
|
||
|
level: "INFO"
|
||
|
synapse.storage.SQL:
|
||
|
# beware: increasing this to DEBUG will make synapse log sensitive
|
||
|
# information such as access tokens.
|
||
|
level: INFO
|
||
|
root:
|
||
|
level: INFO
|
||
|
handlers: [console]
|
||
|
disable_existing_loggers: false
|