Logging of healthchecks using a different Log-level #476
Replies: 2 comments 1 reply
-
Hi @CommanderStorm 👋 How do you read the logs? Don't you already have the means to filter out Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hello Meilisearch! While searching for an option to turn down or off the logging for the @gmourier, your questions around log management tooling are likely apt for production deployments, but when working with Meilisearch in a development or pre-production environment, there is often no log filtering readily available. As of now, I turn the log level to |
Beta Was this translation helpful? Give feedback.
-
I would like to discuss the logging of the
/health
-Endpoint.If I dont know of a feature, that already exists I am sorry.
Looking at meilisearch-http/src/main.rs#L18 and meilisearch-http/src/routes/mod.rs#L172 I dont see any related feature.
Currently it is logged like
I would like the logging on this endpoint to either be:
This is relevant, since when running meilisearch in kubernetes, these logs are pretty annoying, once healthchecks are enabled.
Is there a way to suppress these health check logs, but still keep all other HTTP request logs, that live in INFO?
If there is not a way currently, would the maintainers be open to a PR implementing such a feature?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions