squid icon indicating copy to clipboard operation
squid copied to clipboard

Cleanup cache.log output of protocol flow

Open yadij opened this issue 1 year ago • 0 comments

In debug sections dedicated to displaying protocols, level-2 is reserved for logging a human readable trace of messages sent and received.

Provide a DBG_PROTOCOL constant easily used for these log outputs. This also provides an easier way to search for examples of the syntax use by these traces.

Also, update log output syntax for protocols which already contain message flow debugs().

Future work:

  • display traces for more protocols
  • Enhance debug_options to support tracing just the protocol(s) selected by their names.
  • add traces to clarify protocol switching on a connection

yadij avatar Jul 28 '22 02:07 yadij