fi
cd $APP_ROOT
source $CONTAINER_CONFIG
+ 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
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