diff --git a/cmake_targets/autotests/tools/git-retry.sh b/cmake_targets/autotests/tools/git-retry.sh
index c1cc93ba421bba993398ae80007fb7aac0d8e320..b897ba379d0a9b12b755603d72bdcb64a254f302 100755
--- a/cmake_targets/autotests/tools/git-retry.sh
+++ b/cmake_targets/autotests/tools/git-retry.sh
@@ -8,7 +8,7 @@ RETRIES=10
 DELAY=10
 COUNT=1
 while [ $COUNT -lt $RETRIES ]; do
-  $REALGIT $* >> git-clone-log.txt 2>&1
+  $REALGIT $* >> git-clone-`hostname`-log.txt 2>&1
   if [ $? -eq 0 ]; then
     RETRIES=0
     break