Lines 926-932
Link Here
|
926 |
try: |
926 |
try: |
927 |
if logfilename == "syslog": |
927 |
if logfilename == "syslog": |
928 |
from logging.handlers import SysLogHandler |
928 |
from logging.handlers import SysLogHandler |
929 |
syslog = SysLogHandler(address='/dev/log') |
929 |
syslog = SysLogHandler(address='/var/run/log') |
930 |
syslog.setFormatter(syslogformatter) |
930 |
syslog.setFormatter(syslogformatter) |
931 |
syslog.setLevel(self.levels[self.conf['loglevel']]) |
931 |
syslog.setLevel(self.levels[self.conf['loglevel']]) |
932 |
logger.addHandler(syslog) |
932 |
logger.addHandler(syslog) |