enable fast load and timestamps 41/34541/1
authorSmokowski, Kevin (ks6305) <ks6305@us.att.com>
Mon, 5 Mar 2018 22:07:29 +0000 (17:07 -0500)
committerSmokowski, Kevin (ks6305) <ks6305@att.com>
Wed, 7 Mar 2018 15:59:35 +0000 (15:59 +0000)
update platform logic installer to have timestamps in the logs and use install method for fast loading

Change-Id: Ib8ba5c2bc50e1f274dc7341db06a861af2d671e8
Issue-ID: CCSDK-202
Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>

index 36bf070..167c071 100644 (file)
@@ -29,7 +29,7 @@ start=$(date +%s.%N)
 $BASEDIR/bin/svclogic.sh install $BASEDIR $BASEDIR/config/svclogic.properties
 end=$(date +%s.%N)
-echo "Load and activate from $curdir finished at $(date)"
+echo "Load and activate finished at $(date)"
 runtime=$(python -c "print(${end} - ${start})")
 echo "Load and activate took $runtime seconds"
index 1d6dd2d..fc86dc3 100644 (file)
@@ -29,4 +29,4 @@ do
-java -cp ${CLASSPATH}:${MYSQL_JDBC_DRIVER} org.onap.ccsdk.sli.core.sli.SvcLogicParser $*
+java -Dorg.slf4j.simpleLogger.showDateTime=true -Dorg.slf4j.simpleLogger.dateTimeFormat="yyyy-MM-dd HH:mm:ss" -cp ${CLASSPATH}:${MYSQL_JDBC_DRIVER} org.onap.ccsdk.sli.core.sli.SvcLogicParser $*

© 2017 ONAP. Copyright © The Linux Foundation ®. All Rights Reserved.
The Linux Foundation has registered trademarks and uses trademarks.
For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.
Linux is a registered trademark of Linus Torvalds.
Privacy Policy and Terms of Use