def test_loggerComponentBeatsLegacyLoggerComponent(self):
        nonlogs = []
        observer = self._makeObserver()
        application = Componentized()
        application.setComponent(ILogObserver, observer)
        application.setComponent(LegacyILogObserver, nonlogs.append)

        logger = app.AppLogger({})
        logger.start(application)

        self._checkObserver(observer)
        self.assertEqual(nonlogs, [])
A L{ILogObserver} takes precedence over a L{LegacyILogObserver}
dataset/ETHPy150Open twisted/twisted/twisted/test/test_twistd.py/AppLoggerTests.test_loggerComponentBeatsLegacyLoggerComponent