chiark / gitweb /
before undo GeneralResponseConsumer
[hippotat.git] / hippotat / __init__.py
index 90476f5950ad89d3481e38cb670ac28178efe443..43f4a49b157329312e64e1a0ee5e559190d15aa4 100644 (file)
@@ -40,6 +40,7 @@ class DBG(twisted.python.constants.Names):
   QUEUE_CTRL = NamedConstant()
   HTTP_FULL = NamedConstant()
   SLIP_FULL = NamedConstant()
+  CTRL_DUMP = NamedConstant()
 
 _hex_codec = codecs.getencoder('hex_codec')
 
@@ -50,7 +51,7 @@ def log_debug(dflag, msg, idof=None, d=None):
   if idof is not None:
     msg = '[%d] %s' % (id(idof), msg)
   if d is not None:
-    #d = d[0:64]
+    d = d[0:64]
     d = _hex_codec(d)[0].decode('ascii')
     msg += ' ' + d
   log.info('{dflag} {msgcore}', dflag=dflag, msgcore=msg)