Fix some logger calls.