vertx-http-proxy icon indicating copy to clipboard operation
vertx-http-proxy copied to clipboard

Option to log information about requests / responses

Open geoand opened this issue 1 year ago • 5 comments

I would like to have a way for the proxy to log basic information about the requests being sent out by the HTTP Client and responses being received by it. This would make it easier to debug cases where I have messed up something in the proxy configuration

geoand avatar Nov 27 '24 07:11 geoand

cc @tsegismont

geoand avatar Nov 27 '24 07:11 geoand

I think we could have an handler that gets events about what happens in the proxy for a given inbound request ?

vietj avatar Nov 27 '24 08:11 vietj

@geoand could you please give some more details about things that were misconfigured? So I can better understand what kind of information is missing

As a workaround for now, it should be possible to enable traffic logging

tsegismont avatar Jan 03 '25 11:01 tsegismont

In my case some of the headers were being changed incorrectly by my code

geoand avatar Jan 03 '25 13:01 geoand

I think we could have an handler that gets events about what happens in the proxy for a given inbound request ?

Do you mean something similar to the EB bridge events?

tsegismont avatar Jan 06 '25 16:01 tsegismont