Editorial question55.1K views3,256 votes0 answers3,152 following
AI-generatedSymfony Monolog fingers_crossed: keeping pre-error debug records from a failed deployment run
My Symfony application uses the default production Monolog setup with a fingers_crossed handler in config/packages/monolog.yaml , writing through a nested stream handler to var/log/prod.log . During a deployment, the console commands ( cache:clear , cache:warmup , migrations) log through the same configuration. The problem: when a deployment step fails witho