diff options
author | Smokowski, Kevin (ks6305) <ks6305@att.com> | 2018-03-02 21:02:31 +0000 |
---|---|---|
committer | Smokowski, Kevin (ks6305) <ks6305@att.com> | 2018-03-02 21:02:31 +0000 |
commit | bd1855cc37ddfc158ecd0c0ab6b60d19c7a9a986 (patch) | |
tree | aacd91fb06cf729b721df242e5c4b9c2b4bc3cfa /dgbuilder | |
parent | dab10f39a480501bce93ba0010855170e8d19e9a (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>
Diffstat (limited to 'dgbuilder')
-rwxr-xr-x | dgbuilder/svclogic/svclogic.sh | 2 |
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 $* |