monolog.yaml 787 B

12345678910111213141516171819202122232425
  1. monolog:
  2. handlers:
  3. main:
  4. type: fingers_crossed
  5. action_level: error
  6. handler: nested
  7. excluded_http_codes: [404, 405]
  8. buffer_size: 50 # How many messages should be saved? Prevent memory leaks
  9. nested:
  10. type: stream
  11. path: "%kernel.logs_dir%/%kernel.environment%.log"
  12. level: debug
  13. console:
  14. type: console
  15. process_psr_3_messages: false
  16. channels: ["!event", "!doctrine"]
  17. deprecation:
  18. type: stream
  19. path: "%kernel.logs_dir%/%kernel.environment%.deprecations.log"
  20. deprecation_filter:
  21. type: filter
  22. handler: deprecation
  23. max_level: info
  24. channels: ["php"]