Enable debug mode in BE 29/28729/2
authorYuli Shlosberg <ys9693@att.com>
Sun, 21 Jan 2018 11:04:47 +0000 (13:04 +0200)
committerYuli Shlosberg <ys9693@att.com>
Sun, 21 Jan 2018 11:24:30 +0000 (13:24 +0200)
Change-Id: I90bb55184006dbcffc27ab3cbd0550601e6fd06c
Issue-ID: SDC-859
Signed-off-by: Yuli Shlosberg <ys9693@att.com>
catalog-be/src/main/resources/config/logback.xml
sdc-os-chef/scripts/docker_run.sh

index ba16783..c7295ed 100644 (file)
                </if>
        </root>
 
-       <logger name="org.openecomp.sdc" level="INFO" />
+       <logger name="org.openecomp.sdc" level="DEBUG" />
 </configuration>
\ No newline at end of file
index 4867ce5..7af8a74 100755 (executable)
@@ -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 ""