Changing logging to include date and time stamp.