Reputation: 41
I understand that WSO2 API Manager provides features to configure logging/tracing of incoming request. Is there a way to generate custom logs, which captures the following :-
We only intend to make a record of all the request made to our services. Please help.
Upvotes: 0
Views: 1024
Reputation: 3756
Following are two options you can use
Add log mediator to log message. You can create a custom sequence and deploy that mediator. Logs will be in wso2carbon.log
Read the http_access logs. Http access logs are written in /repository/logs location. It contains the request, access time, etc.
Upvotes: 1