1
0

log.config 670 B

1234567891011121314151617181920212223242526272829
  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.util.logcontext.LoggingContextFilter
  8. request: ""
  9. handlers:
  10. console:
  11. class: logging.StreamHandler
  12. formatter: precise
  13. filters: [context]
  14. loggers:
  15. synapse:
  16. level: {{ SYNAPSE_LOG_LEVEL or "WARNING" }}
  17. synapse.storage.SQL:
  18. # beware: increasing this to DEBUG will make synapse log sensitive
  19. # information such as access tokens.
  20. level: {{ SYNAPSE_LOG_LEVEL or "WARNING" }}
  21. root:
  22. level: {{ SYNAPSE_LOG_LEVEL or "WARNING" }}
  23. handlers: [console]