changing the time and adding timestamps to logs