I don't think we should / there is a reason to monkey patch logging here.  Why not just to define  fail2ban.getLogger  and import/use it accordingly?