HARMONY-1914: Reduce the noise in the frontend logs when setting the log level to debug #633
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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