Fix for non-string values for log.
Test for DateTime format and arrays.