Skip to content

v4.0.0-beta.0: clientLogLevel is removed without replacement #2887

Closed
@akphi

Description

@akphi
  • Operating System: MacOS 11.0.1 (Big Sur)
  • Node Version: 14.13.0
  • NPM Version: 6.14.8
  • Yarn version: 1.22.5
  • webpack Version: 5.9.0
  • webpack-dev-server Version: 4.0.0-beta.0
  • Browser: Chrome Version 87.0.4280.67
  • This is a bug
  • This is a modification request

Expected Behavior

In version 3, we can specify the clientLogLevel option to remove info logging from WDS directly to Chrome console.

Actual Behavior

This option has been removed, and when I read the changelog, I tried to follow by setting infrastructureLogging.level to none as well as setting stats.logging to none but Chrome console still show messages like

[HMR] Waiting for update signal from WDS...
[webpack-dev-server] Hot Module Replacement enabled.
[webpack-dev-server] Live Reloading enabled.
[webpack-dev-server] App updated. Recompiling...
[webpack-dev-server] App updated. Recompiling...
[webpack-dev-server] Content base changed. Reloading...
Navigated to http://127.0.0.1:3000/ide
[HMR] Waiting for update signal from WDS...
[webpack-dev-server] Hot Module Replacement enabled.
[webpack-dev-server] Live Reloading enabled.

For Features; What is the motivation and/or use-case for the feature?

Could we bring back a way to hide these noisy messages or at least show them as debug-level messages in Chrome?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions