Hi all,
It seems like the hardcoded pattern is obtained from [1] and processed
later by different threads at the gateway. Therefore changing it to get the
duration of the request processing time might not be the optimal solution.
[1] - https://github.com/wso2/wso2-synapse/blob/master/modules/
Hi Praminda,
The problem is that the above is not working when it is applied to the
Gateway. For others, it works. It seems like the pattern is hardcoded in
the Gateway somehow. I'm looking for a way to update it, to perhaps find
out whether it is hardcoded and if yes, where and likewise.
>
> The pattern worked for all the nodes except for Gateway in which the
> default logging pattern was not affected by the pattern change. Is there a
> way to change the log pattern for Gateway to add the timestamp and duration?
>
Are you referring the access logs for API requests coming into
Hi all,
I was trying to update the log pattern in http access logs in a distributed
APIM by modifying the catalina-server.xml as follows.
Change pattern in the following:
To:
In the above pattern, %{format}t represents the timestamp with milliseconds
and %T represents the time it took to