diff --git a/apps/swh-objstorage/entrypoint.sh b/apps/swh-objstorage/entrypoint.sh
index 649f6c67123e7db7ea249d13d6f929cd1ae56126..aeb3e8798b7b95fd0f8494930c193d29a0535c6e 100755
--- a/apps/swh-objstorage/entrypoint.sh
+++ b/apps/swh-objstorage/entrypoint.sh
@@ -17,11 +17,11 @@ case "$1" in
         exec swh $@
         ;;
     *)
-        echo Starting the swh-objstorage API server
         EXTRA_CLI_FLAGS=""
         if [ ! -z "${SWH_LOG_CONFIG_JSON}" ]; then
             EXTRA_CLI_FLAGS="--log-config-json ${SWH_LOG_CONFIG_JSON}"
         fi
+        echo Starting the swh-objstorage API server
         exec gunicorn --bind 0.0.0.0:${PORT} \
              --log-level ${SWH_LOG_LEVEL:-INFO} \
              $EXTRA_CLI_FLAGS \