Fixing timestamp for log file