A couple suggestions to improve the readability of the debug logs.
- Can the transaction ID be put on every debug log entry, similar to how the thread ID is on every debug log entry? Then you could grep for a particular transaction ID and only see those messages.
- Can we get a squid.log field for transaction ID? Then you can go looking for it in debug log.
- Some messages currently have transaction ID inside of square braces, but square braces are used elsewhere. For example:
In the above example 147596 is transaction ID. But look at this:
Square braces notation also used for HTTP2 client session and state machine. So please pick something unique for transaction ID.
- Is it necessary for http header debug messages to be split across so many lines? At a minimum can the header name and header value be on the same line? Its hard to read debug log output when there are many clients making requests at same time as the messages are not grouped together/written sequentially.