This KB article demonstrates steps for troubleshooting Spring Cloud Gateway (SCG) for VMware Tanzu.
When hitting problems with managing service instances, for example using the creating/deleting/binding/unbinding operation, operator with `BOSH`access can fun the following command:
$ bosh ssh -d <SGG_DEPLOYMENT> spring-cloud-gateway-service/0 $ sudo -i
Then review logs at /var/vcap/sys/log/scg-service-broker/scg-service-broker.stdout.log and stderr.log.
When hitting any problem with the gateway instance, please check instance logs:
cf service SERVICE_NAME --guid cf target -o p-spring-cloud-gateway-service -s <GUID> cf log gateway
The gateway app log level can be modified as:
cf set-env gateway JAVA_OPTS '-Dlogging.level.org.springframework.cloud.gateway=DEBUG' cf restart gateway
Note: Please unset-env and restart after troubleshooting otherwise the instance will keep generating large volume of debug logs.
If you can't resolve the problem yourself, please collect the following information and submit a case with the following information to Tanzu Support: