-
Notifications
You must be signed in to change notification settings - Fork 83
logLevel does not disable any logging #289
Comments
I think the correct way to pass in the option is this (according to the TypeScript typings): serve: {
port: 3000,
logLevel: 'silent',
hotClient: {
logLevel: 'silent',
},
}, But in any case, it still doesn't seem to work. I still see warnings in my browser console. |
Spent 30 minutes investigating, it looks like the I think this issue needs to be raised on the |
Update: found my issue. The setting does work as per my comment, my issue was something completely different (#291). |
@OliverJAsh webpack-hot-client is abandoned by original author, better use |
@evilebottnawi Oh, really? I don't see any note about this in the webpack-hot-client repo. I'm not using it directly, but rather transitively via webpack-serve which uses koa-webpack which uses webpack-hot-client. Now wondering why we're using webpack-serve instead of webpack-dev-server… |
@OliverJAsh webpack-serve will be deprecated in near future due author abandoned this package too |
DEPRECATED. Please use Why deprecated
Thanks for using |
Expected Behavior
Setting logLevel to silent should stop the ridiculous (and largely pointless) flood of information in the console.
Actual Behavior
Any combination of options I've found suggested online do nothing to change the amount of information logged.
Code
How Do We Reproduce?
webpack.config.js
.The basic logLevel option is documented here:
https://github.com/webpack-contrib/webpack-serve
The hotClient option is also documented above, but the logLevel option within that is documented here:
https://github.com/webpack-contrib/webpack-hot-client#options
The text was updated successfully, but these errors were encountered: