been a happy user of a remote request logging profile for some time now, but recently we had an influx of issues where the backend would be failing in some way or another and the only data of this would be on the clients' side with F5 responding with 'TCP RST' packet, therefore a requirement was raised to log any errors.
Looking at documentation it seemed "Error Template" was exactly for this, so I configured a simple debug profile:
Then tried multiple usecases:
backend responds with 200: standard "REQUEST" and "RESPONSE" gets logged
backend responds with non-2xx response code: standard "REQUEST" and "RESPONSE" gets logged.
backend is down: F5 responds with TCP RST and NOTHING is logged
backend is shutdown just as F5 processes the request: REQUEST gets logged, but RESPONSE doesn't and F5 responds with TCP reset
Can someone please share what am I doing wrong or help me understand when is the "Error Template" used? I am clearly misunderstanding it.