title: Symfony production logs
body: <p>In Symfony 3 is there anyway i can write all errors to logs on production without setting the debug mode on? Errors would include http 500 errors or application errors or the php errors which are silenced due to the error flag set to false on production.</p>
  
  <p>The current log config for production is</p>
  
  <pre><code>monolog:
      handlers:
          main:
              type: stream
              path: "%kernel.logs_dir%/%kernel.environment%.log"
              level: info
              channels: [!request, !event, !translation, !kernel, !security, !php, !snc_redis]
         php:
              type: stream
              path: "%kernel.logs_dir%/%kernel.environment%_php.log"
              level: warning
              channels: [php]
  </code></pre>