updates logging to debug issue.