You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature #4604 Making the channel handler more useful by showing it on the prod environment (weaverryan)
This PR was merged into the 2.3 branch.
Discussion
----------
Making the channel handler more useful by showing it on the prod environment
| Q | A
| ------------- | ---
| Doc fix? | yes
| New docs? | no
| Applies to | 2.3+
| Fixed tickets | n/a
Hi guys!
I realized there were a few practical problems with this:
1) Normally, there is no `monolog` configuration in `config.yml` - so it's odd to show an example there
2) In the `prod` environment (by default, unless you set doctrine's logging explicitly to true), the `doctrine` channel is not logged at all. So, if you tried this example in `config_prod.yml`, it probably wouldn't work. But security is always there.
Thanks!
P.S. After merging to 2.6, `container:debug` should be changed to `debug:container`.
Commits
-------
bc79b21 Adding one more note about why we're in config.yml
78323d8 Changing back to config.yml and fixing some code block mistakes thanks to Wouter
f9f3c3f Making the channel handler more useful by showing it on the prod environment
0 commit comments