summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSmokowski, Kevin (ks6305) <ks6305@att.com>2018-03-02 21:02:31 +0000
committerSmokowski, Kevin (ks6305) <ks6305@att.com>2018-03-02 21:02:31 +0000
commitbd1855cc37ddfc158ecd0c0ab6b60d19c7a9a986 (patch)
treeaacd91fb06cf729b721df242e5c4b9c2b4bc3cfa
parentdab10f39a480501bce93ba0010855170e8d19e9a (diff)
add timestamps to install log
Currently the logger doesn't output any timestamps so reading the logs is difficult. This change enables timestamps in the logs. Change-Id: Ie31eaa62499d7c8533811c56f474b4c597f4fa7d Issue-ID: CCSDK-193 Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
-rwxr-xr-xdgbuilder/svclogic/svclogic.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dgbuilder/svclogic/svclogic.sh b/dgbuilder/svclogic/svclogic.sh
index 4c0d2da2..f89ac98c 100755
--- a/dgbuilder/svclogic/svclogic.sh
+++ b/dgbuilder/svclogic/svclogic.sh
@@ -11,4 +11,4 @@ do
CLASSPATH=$CLASSPATH:${jar}
done
#echo "CLASSPATH is ${CLASSPATH}"
-java -cp ${CLASSPATH}:${MYSQL_JDBC_DRIVER}:${SLI_COMMON_JAR} 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}:${SLI_COMMON_JAR} org.onap.ccsdk.sli.core.sli.SvcLogicParser $*