replace outdated logutils import