QUEUE_CTRL = NamedConstant()
HTTP_FULL = NamedConstant()
SLIP_FULL = NamedConstant()
+ CTRL_DUMP = NamedConstant()
_hex_codec = codecs.getencoder('hex_codec')
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)