Added logging for time.