Hi,
Just want to confirm the following is an issue in microgateway current version: 2.5.19
Followed the steps in the online docs to install and configure edgemicro. Also enabled logging and set to Info.
Issue is: Sending a request through the hello microproxy only results in logging for SourceRequest, TargetRequest, and TargetResponse. There is no sourceResponse showing in log file. Shouldn’t there be?
Here’s a snippet from log file:
1529130361245 info sourceRequest m=GET, u=/hello/, h=localhost:8000, r=::1:49261, i=237a44d0-712e-11e8-8143-757dbcdb31bb
1529130361253 info targetRequest m=GET, u=/, h=mocktarget.apigee.net:NaN, i=237a44d0-712e-11e8-8143-757dbcdb31bb
1529130361350 info targetResponse s=200, d=105, i=237a44d0-712e-11e8-8143-757dbcdb31bb
1529130366211 stats treqErrors=0, tresErrors=0, statusCodes={1=0, 2=1, 3=0, 4=0, 5=0}, requests=1, responses=1, connections=undefined, rss=47104000, cpu=[17965890, 9376930, 17640610, 9324640]
As you can see from above, sourceResponse is missing. Also, I reviewed the code for plugins-middleware.js and couldn’t find anywhere it is logging for the sourceResponse event. Not sure if this behavior is expected or if a capability was lost along the way (regression)?
I also see this issue in a previous version 2.4.6 as a customer first reported this issue for me to research. I’m thinking it is a bug but want to confirm as perhaps I’m missing something or misunderstanding the logging capabilities?