aboutsummaryrefslogtreecommitdiff
path: root/check-git-repos.py
diff options
context:
space:
mode:
authorMatt Hart <matthew.hart@linaro.org>2015-08-10 13:37:22 +0100
committerLinaro Code Review <review@review.linaro.org>2015-08-10 13:28:29 +0000
commit7d401bd757f965b83034fa78d755f30d369e4de5 (patch)
treedfa4fae8c2b178dd1876666247e3ac2afa355bea /check-git-repos.py
parent702587c0da09767c72e1c5c448f44b06249009c7 (diff)
check-git-repos: Only show refs diff when DEBUG on
In normal WARN log level, don't output the full difference of the refs to make the cron emails more useful Change-Id: I83807f40ad0d427d987581e37b05db4efaff3f84
Diffstat (limited to 'check-git-repos.py')
-rwxr-xr-xcheck-git-repos.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/check-git-repos.py b/check-git-repos.py
index de9d074..19d2f75 100755
--- a/check-git-repos.py
+++ b/check-git-repos.py
@@ -82,7 +82,8 @@ 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, diff: %s", path, diff)
+ log.warn("%s refs file out of date", path)
+ log.debug("difference is: %s", diff)
ret, out = update_server_info(path)
if ret != 0:
log.error("error processing %s, exited %i", path, ret)