[Twisted-Python] syslog logging

Tsai Li Ming mailinglist at ltsai.com
Sat Feb 5 23:15:06 EST 2005


Hi

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

liming





More information about the Twisted-Python mailing list