def shouldFlush(self, record):
        return (len(self.buffer) >= self.capacity) or \
                (record.levelno >= self.flushLevel)
Performs any cleaning on the "username" prior to using it to get or
dataset/ETHPy150Open babble/babble/include/jython/Lib/logging/handlers.py/MemoryHandler.shouldFlush--crossover with--dataset/ETHPy150Open django/django/django/contrib/auth/backends.py/RemoteUserBackend.clean_username