monolog.yaml 767 B

12345678910111213141516171819202122232425
  1. monolog:
  2. handlers:
  3. main:
  4. type: fingers_crossed
  5. action_level: error
  6. handler: nested
  7. excluded_404s:
  8. # regex: exclude all 404 errors from the logs
  9. - ^/
  10. nested:
  11. type: stream
  12. path: "%kernel.logs_dir%/%kernel.environment%.log"
  13. level: debug
  14. console:
  15. type: console
  16. process_psr_3_messages: false
  17. channels: ["!event", "!doctrine"]
  18. deprecation:
  19. type: stream
  20. path: "%kernel.logs_dir%/%kernel.environment%.deprecations.log"
  21. deprecation_filter:
  22. type: filter
  23. handler: deprecation
  24. max_level: info
  25. channels: ["php"]