def test_configuredLogObserverBeatsSyslog(self):
        """
        C{--logger} takes precedence over a C{--syslog} command line
        argument.
        """
        logs = _setupSyslog(self)
        application = Componentized()
        self._checkObserver(self._setupConfiguredLogger(application,
                                                        {"syslog": True},
                                                        UnixAppLogger))
        self.assertEqual(logs, [])

        C{--logger} takes precedence over a C{--syslog} command line
        argument.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_twistd.py