Commit 181215b2 authored by Ad Schellevis's avatar Ad Schellevis

(captive portal) fix log facility in background process

parent e1d6a690
...@@ -45,7 +45,7 @@ class CPBackgroundProcess(object): ...@@ -45,7 +45,7 @@ class CPBackgroundProcess(object):
""" """
def __init__(self): def __init__(self):
# open syslog and notice startup # open syslog and notice startup
syslog.openlog('captiveportal', logoption=syslog.LOG_DAEMON) syslog.openlog('captiveportal', logoption=syslog.LOG_DAEMON, facility=syslog.LOG_LOCAL4)
syslog.syslog(syslog.LOG_NOTICE, 'starting captiveportal background process') syslog.syslog(syslog.LOG_NOTICE, 'starting captiveportal background process')
# handles to ipfw, arp the config and the internal administration # handles to ipfw, arp the config and the internal administration
self.ipfw = IPFW() self.ipfw = IPFW()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment