Fix for non-string values for log.