From ee98e174b96cc7d4f0ab2c9bb56e27c638292a9d Mon Sep 17 00:00:00 2001 From: Matt Hart Date: Wed, 12 Aug 2015 10:46:10 +0100 Subject: check-git-repos: show refs diff to WARN log Forgot to add this to last review, we decided that as the diffs should be much smaller now to output it whenever the script notices a difference Change-Id: I2e9b2d67a7f95be835bc16edc06574176d511dfa --- check-git-repos.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/check-git-repos.py b/check-git-repos.py index 035a8fa..9d835fb 100755 --- a/check-git-repos.py +++ b/check-git-repos.py @@ -78,8 +78,7 @@ def check_ref_status(path): gitrefs = get_git_refs(path) diff = set(filerefs.items()) ^ set(gitrefs.items()) if len(diff) > 0: - log.warn("%s refs file out of date", path) - log.debug("difference is: %s", diff) + log.warn("%s refs file out of date, diff: %s", path, diff) ret, out = update_server_info(path) if ret != 0 or out != "": log.error("error processing %s, exited %i", path, ret) -- cgit v1.2.3