github / glb-director

GitHub Load Balancer Director and supporting tooling.
Other
2.37k stars 227 forks source link

glb-healthcheck: Only enable debug logging when requested. #103

Closed theojulienne closed 4 years ago

theojulienne commented 4 years ago

This PR quietens the default logging of glb-healthcheck, by disabling Debug level log messages unless an environment variable explicitly requests them. In addition, when we log Info details of the overall state, we include any errors that occurred in that message so they are still visible.

This should generally provide plenty of details under normal circumstances, while enabling debug tracing as required.