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.
This PR quietens the default logging of
glb-healthcheck
, by disablingDebug
level log messages unless an environment variable explicitly requests them. In addition, when we logInfo
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.