Changed time format for logging to include date and milliseconds