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

fix: public router adhere to LogHealthAndMetrics option #1014

Merged
merged 1 commit into from
Sep 12, 2023

Conversation

FerdinandvHagen
Copy link
Contributor

Description

In contrast to the admin routes, the public router does not disable logging on the health endpoints.
This means that if using the public endpoints for health checking, logs will be spammed with health check requests.

With this pull request the "LogHealthAndMetrics" configuration option is now correctly observed also for the public router.

Implementation

Used the admin router implementation and implemented the same solution for the public router.

In contrast to the admin routes, the public router does not disable logging on the health endpoints.
This change alters the behaviour of the public router to be in line with the admin router.
@lfleischmann lfleischmann merged commit dd4fa7c into teamhanko:main Sep 12, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants