Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

The server:log command does not show logs #32111

Copy link
Copy link
Closed
@maidmaid

Description

@maidmaid
Issue body actions

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.