add logutils to match python<2.7