Use a common date/time format for log entries

This commit is contained in:
Michael Boelen 2016-05-25 21:36:12 +02:00
parent e20ef13b48
commit 7725ce6cc8
1 changed files with 1 additions and 1 deletions

View File

@ -1270,7 +1270,7 @@
################################################################################
LogText() {
if [ ! "${LOGFILE}" = "" ]; then CDATE=`date "+[%H:%M:%S]"`; echo "${CDATE} $1" >> ${LOGFILE}; fi
if [ ! "${LOGFILE}" = "" ]; then CDATE=`date "+%Y-%m-%d %H:%M:%S"`; echo "${CDATE} $1" >> ${LOGFILE}; fi
}