View | Details | Raw Unified | Return to bug 195245 | Differences between
and this patch

Collapse All | Expand All

(-)lshellmodule/lshell.py (-1 / +1 lines)
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)

Return to bug 195245