From 1f9efe807ed2a4bba94b2dcf303d4e1ab0ca416e Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Wed, 21 Mar 2007 03:30:40 +0000 Subject: 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 --- src/lib/Logging.py | 2 ++ 1 file changed, 2 insertions(+) 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()]) -- cgit v1.2.3-1-g7c22