summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-03-21 03:30:40 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-03-21 03:30:40 +0000
commit1f9efe807ed2a4bba94b2dcf303d4e1ab0ca416e (patch)
tree6ee5cef4390cbd31b8d64f82a824029468f44399 /src/lib
parentbc6b12a0238aa8fa154487ab76732c1c595b2944 (diff)
downloadbcfg2-1f9efe807ed2a4bba94b2dcf303d4e1ab0ca416e.tar.gz
bcfg2-1f9efe807ed2a4bba94b2dcf303d4e1ab0ca416e.tar.bz2
bcfg2-1f9efe807ed2a4bba94b2dcf303d4e1ab0ca416e.zip
Fix logging under broken pipe conditions (Resolves Ticket #408)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2975 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 17ace968c..43257af5c 100644
--- a/src/lib/Logging.py
+++ b/src/lib/Logging.py
@@ -3,6 +3,8 @@ __revision__ = '$Revision$'
import copy, fcntl, logging, logging.handlers, math, socket, struct, sys, termios, types
+logging.raiseExceptions=0
+
def print_attributes(attrib):
''' Add the attributes for an element'''
return ' '.join(['%s="%s"' % data for data in attrib.iteritems()])