summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Timoney <dt5972@att.com>2018-03-09 19:59:53 +0000
committerGerrit Code Review <gerrit@onap.org>2018-03-09 19:59:53 +0000
commit9898d55e8bb0b6bdb0ec6f2826273439ddbeaf5a (patch)
tree486278739aafe447a542502b9ab9ad12bec85355
parent01435ccac1188d80b99dbb13c7064146ce569a52 (diff)
parenta65123b802823cb364f0103d9533bfd4a150521a (diff)
Merge "enable fast load and timestamps"
-rw-r--r--platform-logic/installer/src/main/scripts/install.sh2
-rw-r--r--platform-logic/installer/src/main/scripts/svclogic.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/platform-logic/installer/src/main/scripts/install.sh b/platform-logic/installer/src/main/scripts/install.sh
index 36bf0702..167c0718 100644
--- a/platform-logic/installer/src/main/scripts/install.sh
+++ b/platform-logic/installer/src/main/scripts/install.sh
@@ -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"
diff --git a/platform-logic/installer/src/main/scripts/svclogic.sh b/platform-logic/installer/src/main/scripts/svclogic.sh
index 1d6dd2da..fc86dc3e 100644
--- a/platform-logic/installer/src/main/scripts/svclogic.sh
+++ b/platform-logic/installer/src/main/scripts/svclogic.sh
@@ -29,4 +29,4 @@ do
CLASSPATH=$CLASSPATH:${jar}
done
-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 $*