add logging times to text file