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
failover_fetch.py logs in local time zone, not UTC. This causes the check_db_dump_recent.py script to return RETURN_CODE_UNKNOWN if the local time zone is not UTC.
I think the best thing to do is have the failover_fetch.py script always log in UTC. This should fix the issue and make the logs easier to read when the local time zone changes.
failover_fetch.py logs in local time zone, not UTC. This causes the
check_db_dump_recent.py
script to returnRETURN_CODE_UNKNOWN
if the local time zone is not UTC.I think the best thing to do is have the
failover_fetch.py
script always log in UTC. This should fix the issue and make the logs easier to read when the local time zone changes.Seems relevant: https://stackoverflow.com/questions/6321160/how-to-set-timestamps-on-gmt-utc-on-python-logging
The text was updated successfully, but these errors were encountered: