add datestamp to stdout for logfile