I need to save in the monolog the var_dump ($ file) log to identify an error. I do not know how to proceed. My monolog in app \ config
monolog:
handlers:
main:
type: 'rotating_file'
path: "%kernel.logs_dir%/producao.log"
level: debug
channels: [!event]
console:
type: console
channels: [!event, !doctrine]