We have openResty setup as reverseProxy and during heavy load situations and long running requests we get a 499 [completely understandable, that the consumer has closed the connection].
However we would like to log the requestPayload and its associated headers in such cases too. But with the current setup, openResty isnt logging the details.
Is this because of the nature that openResty has a sequence of processing the logs? Or is it possible to enable something in the config.
Thanks.