log.yaml 672 B

123456789101112131415161718192021222324252627282930313233343536
  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. file:
  11. class: logging.handlers.RotatingFileHandler
  12. formatter: precise
  13. filename: /var/log/matrix-synapse/homeserver.log
  14. maxBytes: 104857600
  15. backupCount: 10
  16. filters: [context]
  17. encoding: utf8
  18. console:
  19. class: logging.StreamHandler
  20. formatter: precise
  21. level: WARN
  22. loggers:
  23. synapse:
  24. level: INFO
  25. synapse.storage.SQL:
  26. level: INFO
  27. root:
  28. level: INFO
  29. handlers: [file, console]