Skip to content

http2: removes environment variable-triggered nghttp2 logging - #34354

Merged
yanavlasov merged 1 commit into
envoyproxy:mainfrom
birenroy:remove-unused-http2-logging
May 28, 2024
Merged

yanavlasov merged 1 commit into
envoyproxy:mainfrom
birenroy:remove-unused-http2-logging

Conversation

@birenroy

Copy link
Copy Markdown
Contributor

This logging is not covered by tests, and is less relevant with the HTTP/2 codec switchover.

The stringent code coverage limits have caused problems for past pull requests, so might as well eliminate one source of uncovered lines.

Commit Message: http2: removes environment variable-triggered nghttp2 logging
Additional Description:
Risk Level: low
Testing: ran integration tests and http/2 unit tests
Docs Changes:
Release Notes:
Platform Specific Features:

@repokitteh-read-only

Copy link
Copy Markdown

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #34354 was opened by birenroy.

see: more, trace.

@birenroy
birenroy marked this pull request as ready for review May 24, 2024 17:21
@yanavlasov

Copy link
Copy Markdown
Contributor

I found it useful to enable nghttp2 logs occasionally. Is there a way to enable detailed logs for oghttp2?

/wait-any

@birenroy

Copy link
Copy Markdown
Contributor Author

I found it useful to enable nghttp2 logs occasionally. Is there a way to enable detailed logs for oghttp2?

/wait-any

Yes, there's a QUICHE flag that can be enabled:
https://github.com/google/quiche/blob/7af0a9247627b3dea30d46605773179f1f994f9a/quiche/http2/adapter/oghttp2_session.cc#L346

I'm not sure how to set QUICHE flags for a locally running Envoy, but setting that flag should get you wire format events logged at the INFO level.

@yanavlasov
yanavlasov merged commit 14cd80f into envoyproxy:main May 28, 2024
yanavlasov added a commit to yanavlasov/envoy that referenced this pull request Jun 24, 2024
yanavlasov added a commit to yanavlasov/envoy that referenced this pull request Jun 25, 2024
alyssawilk pushed a commit that referenced this pull request Jun 25, 2024
cainelli pushed a commit to cainelli/envoy that referenced this pull request Jul 5, 2024
cainelli pushed a commit to cainelli/envoy that referenced this pull request Jul 5, 2024
cainelli pushed a commit to cainelli/envoy that referenced this pull request Jul 5, 2024
cainelli pushed a commit to cainelli/envoy that referenced this pull request Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants