adding timestamps to logs