s4

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 diff
     1.1 --- a/s4-funcs.sh	Thu Oct 27 21:22:27 2016 +0859
     1.2 +++ b/s4-funcs.sh	Thu Oct 27 22:50:43 2016 +0859
     1.3 @@ -338,7 +338,7 @@
     1.4  # simple redirection for the sake of speed.
     1.5  query() {
     1.6    echo ".once $sqo" >&5
     1.7 -  echo "`date`:[${user:-NULL}] <<<" >> $querylog
     1.8 +  echo "`date '+%F %T'`:[${user:-NULL}] <<<" >> $querylog
     1.9    if [ -z "$1" ]; then
    1.10      tee -a $querylog
    1.11    else