Changed what's printing to the log to troubleshoot exactly where the problem is