def setup_logging(verbosity):
    if verbosity > 1:
        logger.setLevel(logging.DEBUG)
    elif verbosity > 0:
        logger.setLevel(logging.INFO)
L{app.AppLogger} using a legacy logger observer still works, wrapping
dataset/ETHPy150Open PublicMapping/DistrictBuilder/django/publicmapping/setup.py/setup_logging--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/test/test_twistd.py/AppLoggerTests.test_legacyObservers