Moving more logging functions into logutils.