From bd1855cc37ddfc158ecd0c0ab6b60d19c7a9a986 Mon Sep 17 00:00:00 2001 From: "Smokowski, Kevin (ks6305)" Date: Fri, 2 Mar 2018 21:02:31 +0000 Subject: 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) --- dgbuilder/svclogic/svclogic.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dgbuilder/svclogic') 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 $* -- cgit 1.2.3-korg