log.config 603 B

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