TruBudget icon indicating copy to clipboard operation
TruBudget copied to clipboard

1816 Logging-service improvements

Open galethil opened this issue 9 months ago • 2 comments

Silence specific routes.Optional shortening of log ou…tput.

Checklist

  • [ ] I have followed (at least) the PR section of the contributing guide.
  • [ ] I fixed all necessary PR warnings
  • [ ] The commit history is clean
  • [ ] The E2E tests are passing
  • [ ] If possible, the issue has been divided into more subtasks
  • [ ] I did a self review before requesting a review from another team member

Description

How to test

  1. Change "trubudget-logging-service": "file:../logging-service" in package.json of a service and build environment
  2. Update variable SILENCE_LOGGING_ON_FREQUENT_ROUTES=true
  3. Test if endpoints like /readiness are not logging
  4. Update variable SHORT_ROUTES_LOGGING_OUTPUT=true
  5. Test if logs are short. Not implemented in api service

Closes #1816

galethil avatar May 17 '24 13:05 galethil