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

Remove requests logging in the Job API unless if in debug mode #2662

Merged
merged 1 commit into from Mar 4, 2024

Conversation

triarius
Copy link
Contributor

@triarius triarius commented Mar 4, 2024

Description

The Job API would always log that a request occurred because of some middleware. This clutters the logs.
I think it should not be necessary to see this in the logs unless the server is in debug mode.
Much of the time, the server will be called by our own cli commands, which often log that they are running as well, so this will be redundant.

Testing

  • Tests have run locally (with go test ./...). Buildkite employees may check this if the pipeline has run automatically.
  • Code is formatted (with go fmt ./...)

@triarius triarius requested a review from a team March 4, 2024 07:51
@triarius triarius merged commit d7e96b4 into main Mar 4, 2024
1 check passed
@triarius triarius deleted the triarius/quieten-jobapi branch March 4, 2024 23:02
@triarius triarius mentioned this pull request Mar 20, 2024
2 tasks
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.

None yet

3 participants