Storybook: Silence all the console.log noise

Created on 30 Apr 2019  路  6Comments  路  Source: storybookjs/storybook

Is your feature request related to a problem? Please describe.
Currently there is a massive overload of noise in the console which is very annoying as it's related to storybook and not your application, there is already a --quite and --ci flag to allow message suppression on the terminal process, however this doesn't follow through to the web ui

Storybook

Describe the solution you'd like
Either hook into the same quiet flag or add a way to silence the output.

Describe alternatives you've considered
A whole lot of console.clears()

Are you able to assist bring the feature to reality?
Potentially...

cli core feature request

All 6 comments

Yes please !
This noise is so annoying that I've became a power user of the filter feature in the dev console.

A general logLevel setting would solve this.

one day monoconfig will fix this

For what it's worth, adding -HMR was the easiest way for me to the filter these in Chrome.

image

The logLevel settings has been added: #6825

also related #6806

for some reasons loglevel is an unknown parameter
Screen Shot 2019-08-13 at 10 20 20 AM

loglevel apparently serves the purpose of controlling the build output, not console logs printed in real time in the browser.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tomitrescak picture tomitrescak  路  3Comments

ZigGreen picture ZigGreen  路  3Comments

dnlsandiego picture dnlsandiego  路  3Comments

tlrobinson picture tlrobinson  路  3Comments

rpersaud picture rpersaud  路  3Comments