<#C012RJ2MQ1H|kratos> another questions, in the lo...
# talk-kratos
a
#kratos another questions, in the logs its spamming ""time=2022-12-21T092531Z level=info msg=completed handling request http_request=map[headersmap[accept*/* connection:close user-agent:kube-probe/1.24] host:127.0.0.1 method:GET path:/admin/health/ready query:<nil> remote10.28.0.144108 scheme:http] http_response=map[headersmap[cache controlprivate, no-cache, no-store, must-revalidate content-type:application/json; charset=utf-8] size:16 status:200 text_status:OK took:849.477µs]"" . I have checked /admin/health/ready and its OK. whats the problem?
f
That just lists all requests to that endpoint. You can disable logging for health api in the config
a
@faint-helmet-53309 ah ok! but how do I turn this off? I've tried to change loglevel but it has no impact what so ever
f
https://www.ory.sh/docs/kratos/reference/configuration serve.public.request_log.disable_for_health serve.admin.request_log.disable_for_health
a
ahh thanks a lot! 🙂 but why are these enabled, do I loose some functionality if I turn these off?
f
Other than not getting logs for requests to these endpoints, I don't think so