Hi all,

I am using APIM 2.1.0 in a distributed deployment. I have enabled debug
logs for APIKeyValidationService class inside
org.wso2.carbon.apimgt.keymgt.service. I need to log the response time
taken for OAuth token response from keyManager to gateway from line 259 [1].

But logMessages() method doesnt get invoked since the if condition [2]
before the method call fails as axis2MessageContext variable is null.

Any thoughts on this ?


[1]
https://github.com/wso2/carbon-apimgt/blob/6.x/components/apimgt/org.wso2.carbon.apimgt.keymgt/src/main/java/org/wso2/carbon/apimgt/keymgt/service/APIKeyValidationService.java#L259

[2]
https://github.com/wso2/carbon-apimgt/blob/6.x/components/apimgt/org.wso2.carbon.apimgt.keymgt/src/main/java/org/wso2/carbon/apimgt/keymgt/service/APIKeyValidationService.java#L205



*Dushani Wellappili*
Software Engineer - WSO2

Email : [email protected]
Mobile : +94779367571
Web : https://wso2.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to