You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To start off: Atlantis is awesome! Really appreciate the work you've done on it.
Problem
When running on Kubernetes, the livenessProbe/readinessProbe send a lot of requests to the /healthz endpoint, which are logged as follows:
2020/05/26 12:16:20+0000 [INFO] server: GET /healthz – respond HTTP 200
2020/05/26 12:16:36+0000 [INFO] server: GET /healthz – from <IP>
2020/05/26 12:16:36+0000 [INFO] server: GET /healthz – respond HTTP 200
2020/05/26 12:17:20+0000 [INFO] server: GET /healthz – from <IP>
2020/05/26 12:17:20+0000 [INFO] server: GET /healthz – respond HTTP 200
2020/05/26 12:17:36+0000 [INFO] server: GET /healthz – from <IP>
2020/05/26 12:17:36+0000 [INFO] server: GET /healthz – respond HTTP 200
This could be avoided by upping the log level to error, but since many interesting Atlantis/Terraform/lock logging is also info level, those would be lost too.
Proposed solution
It would be nice if we could use a flag to turn off the logging for certain endpoints, in this case at least for /healthz (and perhaps /events too).
Alternatively, those messages could be moved to debug, so we can turn them off without removing the more interesting logging.
I'm pretty sure this is not currently possible, but if it is I'd love to hear. Besides that, if you have an opinion on either of the proposed solutions (or maybe something else entirely), I'd love to hear it as I don't mind building it myself and sending a PR for this.
The text was updated successfully, but these errors were encountered:
To start off: Atlantis is awesome! Really appreciate the work you've done on it.
Problem
When running on Kubernetes, the
livenessProbe
/readinessProbe
send a lot of requests to the /healthz endpoint, which are logged as follows:This could be avoided by upping the log level to
error
, but since many interesting Atlantis/Terraform/lock logging is alsoinfo
level, those would be lost too.Proposed solution
/healthz
(and perhaps/events
too).debug
, so we can turn them off without removing the more interesting logging.I'm pretty sure this is not currently possible, but if it is I'd love to hear. Besides that, if you have an opinion on either of the proposed solutions (or maybe something else entirely), I'd love to hear it as I don't mind building it myself and sending a PR for this.
The text was updated successfully, but these errors were encountered: