]> git.openstreetmap.org Git - chef.git/commitdiff
Increase log verbosity level of planet update
authorJochen Topf <jochen@topf.org>
Sun, 27 Jun 2021 15:40:27 +0000 (17:40 +0200)
committerGitHub <noreply@github.com>
Sun, 27 Jun 2021 15:40:27 +0000 (17:40 +0200)
Increase verbosity level of pyosmium-up-to-date in /usr/local/bin/planet-update to help finding out why it fails so often.

cookbooks/planet/templates/default/planet-update-file.erb

index 4b067e6401cf26bd505a381c7f33e89768e61498..16c7fed17271bfa7ec59d3fa641e25f57f25e177 100644 (file)
@@ -12,12 +12,12 @@ PLANETCURR="${PLANETDIR}/planet.${SUFFIX}"
 PLANETNEW="${PLANETDIR}/planet-new.${SUFFIX}"
 PLANETTMP="${PLANETDIR}/planet-tmp.${SUFFIX}"
 
-pyosmium-up-to-date -v -o "$PLANETNEW" "$PLANETCURR"
+pyosmium-up-to-date -vvv -o "$PLANETNEW" "$PLANETCURR"
 retval=$?
 
 while [ $retval -eq 1 ]; do
     mv "$PLANETNEW" "$PLANETTMP"
-    pyosmium-up-to-date -v -o "$PLANETNEW" "$PLANETTMP"
+    pyosmium-up-to-date -vvv -o "$PLANETNEW" "$PLANETTMP"
     retval=$?
     rm "$PLANETTMP"
 done