-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Closed
Labels
Description
Symfony version(s) affected: 4.2
Description
The logs are not shown while we launch server:log
. The only way to show them is to add -vvv
option.
How to reproduce
// config/packages/dev/monolog.yaml
monolog:
handlers:
server_log:
type: server_log
host: 0:9911
And run server:log
.
Possible Solution
The ConsoleHandler checks the verbosity level. By default the normal verbosity maps to the warning level log. IMO, the --filter
option should be the only one responsible of the level.
if ($this->handler->isHandling($record)) { |
Additional context