Fix issue with date/time logging