Adding the facility to the accelerate daemon syslog calls

reviewable/pr18780/r1
James Cammarata 11 years ago
parent 17f683aad7
commit 0a27ded6f3

@ -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:

Loading…
Cancel
Save