def test_getLogObserverStdoutDaemon(self):
        logger = UnixAppLogger({"logfile": "-", "nodaemon": False})
        error = self.assertRaises(SystemExit, logger._getLogObserver)
        self.assertEqual(str(error), "Daemons cannot log to stdout, exiting!")
When daemonized and C{logfile} is set to C{-},
dataset/ETHPy150Open twisted/twisted/twisted/test/test_twistd.py/UnixAppLoggerTests.test_getLogObserverStdoutDaemon