[Twisted-Python] syslog logging

Tsai Li Ming mailinglist at ltsai.com
Sat Feb 5 21:15:06 MST 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