Fixed logger calls.