twisted.scripts._twistd_unix.UnixAppLogger._getLogObserver(self) method documentationtwisted.scripts._twistd_unix.UnixAppLogger
View Source
Create and return a suitable log observer for the given configuration.
The observer will go to syslog using the prefix _syslogPrefix if _syslog is true. Otherwise, it will go to the file named _logfilename or, if _nodaemon is true and _logfilename is "-", to stdout.
| Returns | An object suitable to be passed to log.addObserver. | |
| Function | rotateLog | Undocumented |