You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
675B

  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. 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: ERROR
  25. synapse.storage.SQL:
  26. level: ERROR
  27. root:
  28. level: ERROR
  29. handlers: [file, console]