From bf5b0465850b3dfdd092a912ae332997e745969f Mon Sep 17 00:00:00 2001 From: tharikaGitHub Date: Mon, 1 Apr 2024 06:08:18 +0530 Subject: [PATCH] Add temporary fix to support trouble shooting --- import-export-cli/integration/ci-resources/start-apim.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/import-export-cli/integration/ci-resources/start-apim.sh b/import-export-cli/integration/ci-resources/start-apim.sh index 3b768195..83122206 100755 --- a/import-export-cli/integration/ci-resources/start-apim.sh +++ b/import-export-cli/integration/ci-resources/start-apim.sh @@ -34,7 +34,6 @@ cp offset1/deployment.toml offset1/distribution/$APIM_PACK/repository/conf/. offset0/distribution/$APIM_PACK/bin/api-manager.sh start echo "Starting APIM Instance 1" -tail -f offset0/distribution/$APIM_PACK/repository/logs/wso2carbon.log offset1/distribution/$APIM_PACK/bin/api-manager.sh start @@ -54,6 +53,8 @@ do fi ((++HALF_MINUTE_COUNTER)) APIM1_STATUS=$(curl --write-out %{http_code} --silent --output /dev/null "http://localhost:9763/services/Version") + echo "APIM1_STATUS: $APIM1_STATUS" + tail -n 100 offset0/distribution/$APIM_PACK/repository/logs/wso2carbon.log done echo "APIM Instance 1 started"