ssyslog.py: use daemon.notice instead of daemon.info

...MacOS X seems to default (in /etc/syslog.conf) to not logging daemon.info
anywhere.  That kind of defeats the purpose, I think.
This commit is contained in:
Avery Pennarun 2011-01-01 00:28:31 -08:00
parent e6d7c44e27
commit 95ab6e7119

View File

@ -6,7 +6,7 @@ _p = None
def start_syslog(): def start_syslog():
global _p global _p
_p = ssubprocess.Popen(['logger', _p = ssubprocess.Popen(['logger',
'-p', 'daemon.info', '-p', 'daemon.notice',
'-t', 'sshuttle'], stdin=ssubprocess.PIPE) '-t', 'sshuttle'], stdin=ssubprocess.PIPE)