diff options
Diffstat (limited to 'app/im/config/synapse.log.config.yaml')
-rw-r--r-- | app/im/config/synapse.log.config.yaml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app/im/config/synapse.log.config.yaml b/app/im/config/synapse.log.config.yaml new file mode 100644 index 0000000..0b5622e --- /dev/null +++ b/app/im/config/synapse.log.config.yaml @@ -0,0 +1,23 @@ +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: INFO + +root: + level: INFO + handlers: [console] + +disable_existing_loggers: false |