log.config 570 B

1234567891011121314151617181920212223242526
  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]