Skip to content
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

Add http request scheme to logger #6226

Merged
merged 4 commits into from
Feb 17, 2020

Conversation

valtlfelipe
Copy link
Contributor

@valtlfelipe valtlfelipe commented Jan 23, 2020

What does this PR do?

Added to the logger the http request scheme HTTP/HTTPS.

Motivation

Fixes #6130

More

  • Added/updated tests
  • Added/updated documentation

Additional Notes

Got solution from golang/go#28940 (comment).
Need to add test for the https scheme, but could not figure it out. If someone could give me some directions please.

Copy link
Contributor

@dtomcej dtomcej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
:shipit:

Copy link
Member

@juliens juliens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@traefiker traefiker merged commit 1c76405 into traefik:master Feb 17, 2020
v2 automation moved this from To review to Done Feb 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
v2
Done
Development

Successfully merging this pull request may close these issues.

Access logs should contain the request scheme
6 participants