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

HARMONY-1914: Reduce the noise in the frontend logs when setting the log level to debug #633

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

chris-durbin
Copy link
Contributor

Jira Issue ID

HARMONY-1914

Description

Moves some log messages from debug to silly to reduce the amount of noise when polling for work as well as middleware function calls when hitting endpoints.

Local Test Steps

By default make sure no log messages are logged when no frontend endpoints are being called (ensure that backend services polling for work with nothing to do in the system does not cause any messages to be logged).

Verify when hitting endpoints like submitting a request using the coverages API or requesting /jobs that no messages saying "Invoking middleware" or "Completed middleware" are called.

Set LOG_LEVEL=silly in your .env file and restart harmony. Verify that the polling messages are logged again and the Invoking and Completed middleware messages are called.

PR Acceptance Checklist

  • Acceptance criteria met
  • Tests added/updated (if needed) and passing
  • Documentation updated (if needed)

… debug level. Use the silly log level when needing these detailed messages.
@vinnyinverso
Copy link
Collaborator

This is an amazing change. Thanks!

@chris-durbin chris-durbin merged commit 6ebfc95 into main Oct 1, 2024
4 of 5 checks passed
@chris-durbin chris-durbin deleted the harmony-1914 branch October 1, 2024 12:27
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.

3 participants