summaryrefslogtreecommitdiffstats
path: root/src/lib/Logging.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Logging.py')
-rw-r--r--src/lib/Logging.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/Logging.py b/src/lib/Logging.py
index f898696f9..b91fdd035 100644
--- a/src/lib/Logging.py
+++ b/src/lib/Logging.py
@@ -1,7 +1,7 @@
'''Bcfg2 logging support'''
__revision__ = '$Revision$'
-import copy, fcntl, logging, logging.handlers, lxml.etree, math, socket, struct, sys, termios, types
+import copy, fcntl, logging, logging.handlers, math, socket, struct, sys, termios, types
def print_attributes(attrib):
''' Add the attributes for an element'''
@@ -73,8 +73,8 @@ class TermiosFormatter(logging.Formatter):
for colNum in range(columns)] if idx < len(record.msg)]
format = (len(indices) * (" %%-%ds " % columnWidth))
returns.append(format % tuple([record.msg[idx] for idx in indices]))
- elif type(record.msg) == lxml.etree._Element:
- returns.append(str(xml_print(record.msg)))
+ #elif type(record.msg) == lxml.etree._Element:
+ # returns.append(str(xml_print(record.msg)))
else:
returns.append(str(record.msg))
if record.exc_info: