summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-01-31 15:50:46 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-01-31 15:50:46 +0000
commit1d890ad3cc26ba5c88efbe423eafceb638a26a50 (patch)
tree3caf9de60802c75f89f4c26481345373c0d70e06 /src/lib
parent6737b09abbfe27aaf40b2b7642b20cac6e552094 (diff)
downloadbcfg2-1d890ad3cc26ba5c88efbe423eafceb638a26a50.tar.gz
bcfg2-1d890ad3cc26ba5c88efbe423eafceb638a26a50.tar.bz2
bcfg2-1d890ad3cc26ba5c88efbe423eafceb638a26a50.zip
Change logging facility to daemon (to conform with debian policy) (Resolves Ticket #379)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2737 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Logging.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Logging.py b/src/lib/Logging.py
index 63a2ce3e1..17ace968c 100644
--- a/src/lib/Logging.py
+++ b/src/lib/Logging.py
@@ -125,7 +125,7 @@ class FragmentingSysLogHandler(logging.handlers.SysLogHandler):
self.socket.send("Reconnected to syslog")
self.socket.send(msg)
-def setup_logging(procname, to_console=True, to_syslog=True, syslog_facility='local0', level=0):
+def setup_logging(procname, to_console=True, to_syslog=True, syslog_facility='daemon', level=0):
'''setup logging for bcfg2 software'''
if hasattr(logging, 'already_setup'):
return