delete 'logger = logging.getLogger(__name__)' code