symfony/symfony — pull request #12062 by nicolas-grekas (2014-09-27 07:22:31+00:00)
Title: [WIP] [FrameworkBundle] enable ErrorHandler in prod

| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #11053, #8281
| License | MIT
| Doc PR | -

This is a first proposal for enabling error handling (mainly logging) in prod envs.
I'd like to make it for 2.6 but need help to mahe the good decision.
@Koc worked on the subject but issue #8281 remains.

This misses configuration options for the ErrorHandler and also php ini settings related to error handling:
I'd like to allow apps to define any log channel per log level,
and I'd also like to be able to `ini_set('error_log', ...)` through symfony configuration system.

WIP state, but early feedback welcomed. We have only a few days to make it.