Adding the facility to the accelerate daemon syslog calls

This commit is contained in:
James Cammarata 2013-09-03 11:30:29 -05:00
parent 17f683aad7
commit 0a27ded6f3

View file

@ -86,7 +86,7 @@ PIDFILE = os.path.expanduser("~/.accelerate.pid")
CHUNK_SIZE=10240
def log(msg):
syslog.syslog(syslog.LOG_NOTICE, msg)
syslog.syslog(syslog.LOG_NOTICE|syslog.LOG_DAEMON, msg)
if os.path.exists(PIDFILE):
try: