Adding logging interceptor to wso2 microgateway

195 Views Asked by At

I am using wso2 microgateway to proxy our backend api. I need to write a logging interceptor which can log the access events and auth/security related logging events to a separate log file.

From the sample java interceptor, I could understand that the wso2 mgw uses slf4j api and binds to java util logging api. The logs are written to microgateway.log file in the gateway runtime tool.

What is the best way to accomplish this requirement?

0

There are 0 best solutions below