def _GenerateRequestLogId():
 sec = int(_request_time)
 usec = int((1000000 * (_request_time - sec)))
 h = hashlib.sha1(str(_request_id)).digest()[:4]
 packed = struct.Struct('> L L').pack(sec, usec)
 return binascii.b2a_hex((packed + h))

def _GenerateRequestLogId ( ) : sec = int ( _request_time ) usec = int ( ( 1000000 * ( _request_time - sec ) ) ) h = hashlib . sha1 ( str ( _request_id ) ) . digest ( ) [ : 4 ] packed = struct . Struct ( '> L L' ) . pack ( sec , usec ) return binascii . b2a_hex ( ( packed + h ) )
generates the request log id for the current request .