I apologize if my initial post wasn't clear enough. let me rephrase:
Is there a way to define the target syslog facility when logging to
syslog when using twisted? According to the man page of twistd, you can
define logging to be piped to syslog. For e.g.:
twistd -y server.tac --pid /var/run/server.pid -q -o --syslog
Looking at twisted/python/syslog.py, there isn't a way to specify the
logging facility that can be used:
class SyslogObserver:
def __init__(self, prefix):
syslog.openlog(prefix)
By default, the python syslog module will log to the LOG_USER facility.
Liming