Fixing logfile datestamp