Improves logging in HPQCUtils.