aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuli Shlosberg <ys9693@att.com>2018-01-21 13:04:47 +0200
committerYuli Shlosberg <ys9693@att.com>2018-01-21 13:24:30 +0200
commit9f3fd04658855a75db960145db5b68a70e98fb15 (patch)
tree89c26504d2765b5d0e5bb6eca116deff1e7a0274
parentc8b48146aee5aeeebf26fa681add482298020e2f (diff)
Enable debug mode in BE
Change-Id: I90bb55184006dbcffc27ab3cbd0550601e6fd06c Issue-ID: SDC-859 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
-rw-r--r--catalog-be/src/main/resources/config/logback.xml2
-rwxr-xr-xsdc-os-chef/scripts/docker_run.sh8
2 files changed, 7 insertions, 3 deletions
diff --git a/catalog-be/src/main/resources/config/logback.xml b/catalog-be/src/main/resources/config/logback.xml
index ba16783536..c7295edcc7 100644
--- a/catalog-be/src/main/resources/config/logback.xml
+++ b/catalog-be/src/main/resources/config/logback.xml
@@ -324,5 +324,5 @@
</if>
</root>
- <logger name="org.openecomp.sdc" level="INFO" />
+ <logger name="org.openecomp.sdc" level="DEBUG" />
</configuration> \ No newline at end of file
diff --git a/sdc-os-chef/scripts/docker_run.sh b/sdc-os-chef/scripts/docker_run.sh
index 4867ce5bdb..7af8a748bd 100755
--- a/sdc-os-chef/scripts/docker_run.sh
+++ b/sdc-os-chef/scripts/docker_run.sh
@@ -36,6 +36,7 @@ function monitor_docker {
if [ -n "$MATCH" ]; then
echo DOCKER start finished in $TIME seconds
+ docker logs $1 > ${WORKSPACE}/data/logs/dockerLogs_$1.log
break
fi
@@ -54,12 +55,15 @@ function healthCheck {
curl localhost:9200/_cluster/health?pretty=true
echo "BE health-Check:"
- curl http://localhost:8080/sdc2/rest/healthCheck
+ #curl http://localhost:8080/sdc2/rest/healthCheck
+ curl -H "Accept: application/json" -H "Content-Type: application/json" -H "USER_ID: jh0003" http://localhost:8080/sdc2/rest/healthCheck
echo ""
echo ""
echo "FE health-Check:"
- curl http://localhost:8181/sdc1/rest/healthCheck
+ #curl http://localhost:8181/sdc1/rest/healthCheck
+ curl -H "Accept: application/json" -H "Content-Type: application/json" -H "USER_ID: jh0003" http://localhost:8181/sdc1/rest/healthCheck
+
echo ""