flow-status-webpack-plugin
flow-status-webpack-plugin copied to clipboard
Suppress server spawning noise
Using this tool can generate an awful lot of log noise. See below for a sample of output from just a few minutes of use. I was reconfiguring my webpack configuration, so the output information is correct, just unwanted and very verbose.
Perhaps the stderr output could be filtered somehow to only include actual errors? I see the option to tell the plugin to not restart the server, but I'd prefer the server was restarted and that's kind of just hiding the issue.
This may be more of a problem with the flow
server itself since I can't see any flags or configuration to tell the server to be quiet.
Note: I've used quote format rather than backticks for the sample below to show how much actual output there is when long lines are wrapped in the terminal.
Launching Flow server for /Users/timoxley/Projects/-/app Spawned flow server (child pid=12473) Logs will go to /private/tmp/flow/zSUserszStimoxleyzSProjectszS-zSapp.log Started a new flow server: -flow is still initializing; this can take some time. [parsing] \flow is still initializing; this can take some time. [parsing] |flow is still initializing; this can take some time. [processing] /flow is still initializing; this can take some time. [local inference] -flow is still initializing; this can take some time. [local inference] \flow is still initializing; this can take some time. [local inference] |flow is still initializing; this can take some time. [merging inference] /Launching Flow server for /Users/timoxley/Projects/-/app Spawned flow server (child pid=12929) Logs will go to /private/tmp/flow/zSUserszStimoxleyzSProjectszS-zSapp.log Started a new flow server: -flow is still initializing; this can take some time. [parsing] \flow is still initializing; this can take some time. [parsing] |flow is still initializing; this can take some time. [parsing] /flow is still initializing; this can take some time. [processing] -flow is still initializing; this can take some time. [local inference] \flow is still initializing; this can take some time. [local inference] |flow is still initializing; this can take some time. [local inference] /flow is still initializing; this can take some time. [merging inference] -The flow server is not responding (3 retries remaining): [processing] \Launching Flow server for /Users/timoxley/Projects/-/app Spawned flow server (child pid=13391) Logs will go to /private/tmp/flow/zSUserszStimoxleyzSProjectszS-zSapp.log Started a new flow server: |flow is still initializing; this can take some time. [parsing] /flow is still initializing; this can take some time. [parsing] -flow is still initializing; this can take some time. [processing] \flow is still initializing; this can take some time. [local inference] |flow is still initializing; this can take some time. [local inference] /flow is still initializing; this can take some time. [local inference] -Launching Flow server for /Users/timoxley/Projects/-/app Spawned flow server (child pid=13832) Logs will go to /private/tmp/flow/zSUserszStimoxleyzSProjectszS-zSapp.log Started a new flow server: \flow is still initializing; this can take some time. [parsing] |flow is still initializing; this can take some time. [parsing] /flow is still initializing; this can take some time. [processing] -flow is still initializing; this can take some time. [processing] \flow is still initializing; this can take some time. [local inference] |flow is still initializing; this can take some time. [local inference] /flow is still initializing; this can take some time. [local inference] -flow is still initializing; this can take some time. [local inference] \flow is still initializing; this can take some time. [merging inference] |The flow server is not responding (3 retries remaining): [processing] /Launching Flow server for /Users/timoxley/Projects/-/app Spawned flow server (child pid=14313) Logs will go to /private/tmp/flow/zSUserszStimoxleyzSProjectszS-zSapp.log Started a new flow server: -flow is still initializing; this can take some time. [parsing] \flow is still initializing; this can take some time. [parsing] |flow is still initializing; this can take some time. [processing] /flow is still initializing; this can take some time. [processing] -flow is still initializing; this can take some time. [local inference] \flow is still initializing; this can take some time. [local inference] |flow is still initializing; this can take some time. [local inference] /flow is still initializing; this can take some time. [merging inference] -
Hey @timoxley! Thanks for this report.
Well, as you mentioned, it's a Flow
specific behaviour.
I could not find any option to suppress or make it quiet, however, I'm open to add it if you have a proper solution for this problem.
Let's keep an eye on it, since for now there's no apparent solution.
@diegodurli what do you think about a workaround by filtering stderr lines?
Sounds a good workaround for now. Do you have some implementation in mind @timoxley? Regex? We can discuss it, but for sure we could add a quiet
option to this API.