log.config 490 B

12345678910111213141516171819202122
  1. version: 1
  2. formatters:
  3. precise:
  4. format: '%(asctime)s - %(name)s - %(lineno)d - %(levelname)s - %(request)s - %(message)s'
  5. handlers:
  6. console:
  7. class: logging.StreamHandler
  8. formatter: precise
  9. loggers:
  10. synapse.storage.SQL:
  11. # beware: increasing this to DEBUG will make synapse log sensitive
  12. # information such as access tokens.
  13. level: INFO
  14. root:
  15. level: {{ SYNAPSE_LOG_LEVEL or "INFO" }}
  16. handlers: [console]
  17. disable_existing_loggers: false