Makes me wonder why we just don't include the idea of a "nonce" and sequence number in a log message. The send of a message includes a nonce and sequence number. The receiver will log the nonce and sequence number. When the receiver sends a request to another server it just copies the nonce and increments the sequence number. This makes it easy to extract all information log lines for a particular transaction (aka nonce). And the sequence number shows the ordering.
Makes me wonder why we just don't include the idea of a "nonce" and sequence number in a log message. The send of a message includes a nonce and sequence number. The receiver will log the nonce and sequence number. When the receiver sends a request to another server it just copies the nonce and increments the sequence number.
This makes it easy to extract all information log lines for a particular transaction (aka nonce). And the sequence number shows the ordering.