1

We have followed up the steps in below documentation to collect suitable information about each requests time taken handled by the api manager, both at the tomcat access log and the API Gateway log:

https://apim.docs.wso2.com/en/3.1.0/administer/logging-and-monitoring/logging/monitoring-http-access-logs/

However ti appears as if the %T (or the %D) format specifier placed in the access-log.properties is being ignored (or is not being recognized), given that however we use it, we either get a dash ("-") for every log entry, or in some cases information regarding the mime tipe of the resource being served, instead of the expected time taken value.

Has anywone faced a similar issue before? Is there a way to fix it, or are there any workarounds?

Thanks in advance.

Olaf Kock
  • 46,930
  • 8
  • 59
  • 90
Kybernetes
  • 11
  • 1

1 Answers1

0

Thank you for bringing this up.

The Passthrough Access Logs doesn't provide the round-trip time logging at the moment in API Manager 3.1.0, and the Documentation that you have referred to needs to be updated. As per the current implementation git, the %T provides the Content-Type of the request as you have observed in your logs.

I have raised a Git issue to update the docs accordingly.

Athiththan
  • 1,874
  • 8
  • 18