log_config.yaml 485 B

123456789101112131415161718192021222324
  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. # log to stdout, for easier use with 'docker logs'
  15. stream: 'ext://sys.stdout'
  16. root:
  17. level: INFO
  18. handlers: [console]
  19. disable_existing_loggers: false