changes for CSIT integration
[dmaap/buscontroller.git] / misc / dmaapbc
index 83fc8c2..19bb3f7 100644 (file)
@@ -34,6 +34,13 @@ config() {
        fi
        cd $APP_ROOT
        source $CONTAINER_CONFIG
+       # comment out till certs are available
+       #if [ ! -f $APP_ROOT/misc/cert-client-init.sh ]
+       #then
+       #       echo "Did not find $APP_ROOT/misc/cert-client-init.sh to append to truststore"
+       #       exit 1
+       #fi
+       #$APP_ROOT/misc/cert-client-init.sh
        . misc/dmaapbc.properties.tmpl > etc/dmaapbc.properties
     . misc/PolicyEngineApi.properties.tmpl > config/PolicyEngineApi.properties
        set +x
@@ -80,7 +87,13 @@ start() {
        if [ "$PIDS" = "" ]
        then
                echo $COMPONENT startup failed
-               tail -100 $APP_ROOT/logs/dmaap*.log
+               ls -l $APP_ROOT/logs/EELF
+               echo "------------ error.log ---------------"
+               cat $APP_ROOT/logs/EELF/error.log
+               echo "------------ server.log ---------------"
+               cat $APP_ROOT/logs/EELF/server.log
+               echo "------------ tail -100 application.log ---------------"
+               tail -100 $APP_ROOT/logs/EELF/application.log
        else
                echo $COMPONENT started
        fi