[Twisted-Python] Re: syslog logging

Tsai Li Ming mailinglist at ltsai.com
Sun Feb 6 00:19:25 EST 2005

Logging facility?

Default is LOG_USER if you do not specify the facility in syslog.openlog:
openlog(ident[, logopt[, facility]])


Jp Calderone wrote:
> On Sun, 06 Feb 2005 12:15:06 +0800, Tsai Li Ming <mailinglist at ltsai.com> wrote:
>>Looking at twisted/python/syslog.py, there isn't any way to specify the 
>>logging facility that can be used:
>>class SyslogObserver:
>>     def __init__(self, prefix):
>>         syslog.openlog(prefix)
>>I'm using the twistd to start application tac file:
>>twistd -y server.tac --pid /var/run/server.pid -q -o --syslog
>   Yes?
>   Jp

More information about the Twisted-Python mailing list