Andrew Stitcher created PROTON-769:
--------------------------------------

             Summary: Simplify the trace flag logic by only keeping a single 
copy
                 Key: PROTON-769
                 URL: https://issues.apache.org/jira/browse/PROTON-769
             Project: Qpid Proton
          Issue Type: Improvement
          Components: proton-c
            Reporter: Andrew Stitcher
            Assignee: Andrew Stitcher


The code that produces log output in Proton C is split into multiple places in 
the code. It would make more sense to me to centralise the trace flags into the 
pn_transport_t object to as currently the logging API is there but the flags 
are duplicated.

As an aside it would also make sense to introduce some new flags to allow 
control of logging at other levels besides Frame dumps and Raw frame bytes. I'd 
suggest PN_TRACE_DBG for debug tracing and maybe INF for more informational 
messages.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to