-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Noisy output from HTTP2 stack #31763
Comments
FWIW I just tested this on Linux with node built from source and did not get any extra output like you're showing. Judging by the nghttp2 source code, it looks like debug information is only printed to stderr when nghttp2 is built with the The only other way Looking at nodejs.spec from nodejs-10.16.3-2.module_el8.0.0+186+542b25fc.src.rpm I see the following:
As you can see, the |
Thanks for the info; I should have thought about looking at the rpm spec sooner! I filed an issue on the CentOS bug tracker, which is the best place I could find to report an issue in AppStream: |
Refs: nodejs#31763 This test would have helped us catch the noisy output from http2 earlier. Currently none of the tests fail if there is unexpected debug output. Signed-off-by: Michael Dawson <[email protected]>
Refs: #31763 This test would have helped us catch the noisy output from http2 earlier. Currently none of the tests fail if there is unexpected debug output. Signed-off-by: Michael Dawson <[email protected]> PR-URL: #37447 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Beth Griggs <[email protected]>
Refs: #31763 This test would have helped us catch the noisy output from http2 earlier. Currently none of the tests fail if there is unexpected debug output. Signed-off-by: Michael Dawson <[email protected]> PR-URL: #37447 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Beth Griggs <[email protected]>
Refs: #31763 This test would have helped us catch the noisy output from http2 earlier. Currently none of the tests fail if there is unexpected debug output. Signed-off-by: Michael Dawson <[email protected]> PR-URL: #37447 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Beth Griggs <[email protected]>
Node.js appears to be configured to print noisy debug output from http2 to stderr, and there is no way to suppress these messages. I originally filed this bug as googleapis/nodejs-logging#668, and was pointed to NodeSource, where I filed nodesource/distributions#995, and they ultimately pointed me here, which is why I'm filing this issue.
Steps to reproduce:
Install Node.js 10.x on Centos 8 from the NodeSource repository (consider starting from a cleanroom environment like the
centos:centos8
dockerhub image):$ curl -sL https://rpm.nodesource.com/setup_10.x | bash - $ sudo yum install -y nodejs
Note: this also reproduces on the 12.x stream, and according to nodesource/distributions#995 (comment), this also reproduces in other builds of Node.js, not just NodeSource.
Run the following Node.js program from googleapis/nodejs-logging#668 (comment):
Expected: There should be nothing logged to standard error.
Actual: A lot of messages are printed, such as:
System info:
The text was updated successfully, but these errors were encountered: