Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.

Added config to support disabling of request started log lines and co… #2

Closed
wants to merge 2 commits into from

Conversation

joelpresence
Copy link

…rrected a few typos:

  • corrected spelling of equipt to equipped
  • aligned verb tense of msg from “request started” and “request complete” to past tense for both: “request started” and “request completed”
  • corrected spelling of “resp_elasped_ms” to “resp_elapsed_ms”

…rrected a few typos:

* corrected spelling of equipt to equipped
* aligned verb tense of msg from “request started” and “request complete” to past tense for both: “request started” and “request completed”
* corrected spelling of “resp_elasped_ms” to “resp_elapsed_ms”
middleware.go Outdated
Logger *logrus.Logger
// WriteRequestStartedLine indicates if a request started line should be written or not.
// If false, only a request completed line will be written.
WriteRequestStartedLine bool
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's just remove the "request started" line for good. We don't really need it. We don't need the toggle either.

If anyone needs to log this line for some reason, they can re-add it as their own middleware.

@VojtechVitek
Copy link
Collaborator

Closing. We're gonna update some attributes in v2.0. This is a breaking change.

Can you please document what you want to change in a new issue?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants