def test_logging_magic_not_quiet():
    _ip.config.LoggingMagics.quiet = False
    lm = logging.LoggingMagics(shell=_ip)
    with TemporaryDirectory() as td:
        try:
            with tt.AssertPrints(re.compile('Activating.*')):
                lm.logstart(os.path.join(td, 'not_quiet.log'))
        finally:
            _ip.logger.logstop()
def test_logging_magic_not_quiet():
    _ip.config.LoggingMagics.quiet = False
    lm = logging.LoggingMagics(shell=_ip)
    with TemporaryDirectory() as td:
        try:
            with tt.AssertPrints(re.compile('Activating.*')):
                lm.logstart(os.path.join(td, 'not_quiet.log'))
        finally:
            _ip.logger.logstop()