Codebase list logbook / multiarch-fixes/main benchmark / bench_logging_logger_creation.py
multiarch-fixes/main

Tree @multiarch-fixes/main (Download .tar.gz)

bench_logging_logger_creation.py @multiarch-fixes/mainraw · history · blame

"""Test with no handler active"""
from logging import getLogger


root_logger = getLogger()


def run():
    for x in xrange(500):
        getLogger('Test')
        del root_logger.manager.loggerDict['Test']