Fixed logging error. Yet to see if tests run.