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
{{ message }}
This repository was archived by the owner on Nov 27, 2020. It is now read-only.
This PR was merged into the 2.6-dev branch.
Discussion
----------
[Console] filter doctrine log with -vv cli option
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | none
| License | MIT
| Doc PR | none
I add this configuration to all my projects. So I think it could be the default
behavior fore everyone.
Why?
When you write commands and you use lot of log in your application with the
`debug` log level; you have to use `-vvv` option to see them. But with
`-vvv``option, doctrine log is also output. This is a bit annoying because it
becomes very hard to filter your log from doctrine log.
How?
So with this patch you get all logs with `debug` or higher log level, except
doctrine log with `vv` option. And you get all logs with `-vvv` option. With
only `-v` option, you get only `info` or higher log level.
Commits
-------
138065d [Console] filter doctrine log with -vv cli option
0 commit comments