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

[DX]: Bad /healthcheck should write logs #208

Open
mountainash opened this issue Aug 15, 2024 · 0 comments
Open

[DX]: Bad /healthcheck should write logs #208

mountainash opened this issue Aug 15, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@mountainash
Copy link

It would be really nice (better Developer Experience) if a non-ok request to /api/system/healthcheck would also write to the STDOUT logs what the issue is.

We have Cockpit being deployed with CI/CD runners and it's hard to guess why a server it's passing it's healthchecks - if there was output to the logs it would make debugging much easier.

2024-08-15T11:27:51.264 app[9185e6d9f76168] fra [info] 2024/08/15 11:27:51 [info] 372#372 "cockpit" application started

2024-08-15T11:27:53.661 health[9185e6d9f76168] fra [error] Health check on port 80 has failed. Your app is not responding properly. Services exposed on ports [80, 443] will have intermittent failures until the health check passes.
@mountainash mountainash changed the title [DX]: /he [DX]: Bad /healthcheck should write logs Aug 15, 2024
@aheinze aheinze added the enhancement New feature or request label Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants