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

change http log mode route to short-url #397

Merged
merged 2 commits into from
Sep 7, 2023
Merged

change http log mode route to short-url #397

merged 2 commits into from
Sep 7, 2023

Conversation

Choraden
Copy link
Contributor

@Choraden Choraden commented Sep 6, 2023

short-url mode logs scheme+host+path instead of the full URL

@Choraden Choraden requested a review from mmatczuk September 7, 2023 08:39
bind/flag.go Outdated
"HTTP request and response logging mode. "+
"By default, request line and headers are logged if response status code is greater than or equal to 500. "+
"Setting this to none disables logging. ")
"Setting this to none disables logging. "+
"The short-url mode logs scheme+host+path instead of the full URL. ")
Copy link
Contributor

Choose a reason for hiding this comment

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

The + is bit confusing how about [://]/

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@mmatczuk mmatczuk merged commit dc1a869 into main Sep 7, 2023
@mmatczuk mmatczuk deleted the hg/short-url branch September 7, 2023 09:30
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