summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2008-06-24 19:51:47 +0000
committerNarayan Desai <desai@mcs.anl.gov>2008-06-24 19:51:47 +0000
commitb02943b7b9d6774f9b392d779917e39a1db34124 (patch)
tree0842ae710514a96a867d4955ea22d482e1dc5161 /src/lib
parentb4e1d254729d7106e152737d87610900728c6d96 (diff)
downloadbcfg2-b02943b7b9d6774f9b392d779917e39a1db34124.tar.gz
bcfg2-b02943b7b9d6774f9b392d779917e39a1db34124.tar.bz2
bcfg2-b02943b7b9d6774f9b392d779917e39a1db34124.zip
Make logging failures more verbose (and non-fatal)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4713 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Logging.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/Logging.py b/src/lib/Logging.py
index 43257af5c..429538090 100644
--- a/src/lib/Logging.py
+++ b/src/lib/Logging.py
@@ -149,5 +149,7 @@ def setup_logging(procname, to_console=True, to_syslog=True, syslog_facility='da
logging.root.addHandler(syslog)
except socket.error:
logging.root.error("failed to activate syslogging")
+ except:
+ print "Failed to activate syslogging"
logging.root.setLevel(level)
logging.already_setup = True