changeset 359:44096124b0a6

Log time stampe uses '+%F %T'
author HIROSE Yuuji <yuuji@gentei.org>
date Thu, 27 Oct 2016 22:50:43 +0859
parents 8166096f4b36
children 82aa436cf81d
files s4-funcs.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/s4-funcs.sh	Thu Oct 27 21:22:27 2016 +0859
+++ b/s4-funcs.sh	Thu Oct 27 22:50:43 2016 +0859
@@ -338,7 +338,7 @@
 # simple redirection for the sake of speed.
 query() {
   echo ".once $sqo" >&5
-  echo "`date`:[${user:-NULL}] <<<" >> $querylog
+  echo "`date '+%F %T'`:[${user:-NULL}] <<<" >> $querylog
   if [ -z "$1" ]; then
     tee -a $querylog
   else

yatex.org