diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2008-06-24 19:51:47 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2008-06-24 19:51:47 +0000 |
commit | b02943b7b9d6774f9b392d779917e39a1db34124 (patch) | |
tree | 0842ae710514a96a867d4955ea22d482e1dc5161 /src/lib | |
parent | b4e1d254729d7106e152737d87610900728c6d96 (diff) | |
download | bcfg2-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.py | 2 |
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 |