Open const-t opened 6 months ago
Reference Static Keys kernel documentation.
I think it does make sense to make at least some of T_DBG
messages to switch on/off by the static keys, e.g. printing full HTTP headers. Switching on and off such logging might be extremely helpful for online debugging and security incidents handling.
Need to write a good wiki page. Also please create an appropriate test switching on/off tracing under load.
Scope
Need to add static tracepoints to key parts of Tempesta FW, they are very helpful for performance analyzing. Now I can suggest following places: TLS handshake begin/end, request/response forwarding begin/end. During working on Tempesta's performance we can discover another appropriate places where we need to add trace point.