You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Charles E. Rolke (Jira)" <ji...@apache.org> on 2020/11/23 17:21:00 UTC

[jira] [Created] (DISPATCH-1854) Delivery id numbers could be added for better log message comprehension

Charles E. Rolke created DISPATCH-1854:
------------------------------------------

             Summary: Delivery id numbers could be added for better log message comprehension
                 Key: DISPATCH-1854
                 URL: https://issues.apache.org/jira/browse/DISPATCH-1854
             Project: Qpid Dispatch
          Issue Type: Improvement
          Components: Protocol Adaptors, Router Node, Routing Engine
    Affects Versions: 1.14.0
            Reporter: Charles E. Rolke
            Assignee: Charles E. Rolke


Deliveries could use id numbers similar to qd_server_t.next_connection_id numbers.

Then the delivery id numbers could be used in places where the qd_delivery_t object addresses are printed in logs. This would eliminate the ambiguity with the object addresses that get reused.

The effort to scavenge the extra info for logs could be wrapped in qd_log_enabled conditionals so that the work is done only when the log is to be printed.

Where possible log lines with delivery info could be prefixed with connection, link, and delivery id numbers like *[C12][L34][D105]*

Delivery ids could be added to transfer and settlement log lines.





--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org