diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2007-03-21 03:30:40 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2007-03-21 03:30:40 +0000 |
commit | 1f9efe807ed2a4bba94b2dcf303d4e1ab0ca416e (patch) | |
tree | 6ee5cef4390cbd31b8d64f82a824029468f44399 /src | |
parent | bc6b12a0238aa8fa154487ab76732c1c595b2944 (diff) | |
download | bcfg2-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')
-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 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()]) |