'Call after every test case.'

def tearDown(self):

    self.pruneLog()
    logSys = getLogger('fail2ban')
    logSys.handlers = self._old_handlers
    logSys.level = self._old_level
    super(LogCaptureTestCase, self).tearDown()
