Fixing timestamps in the log file