How to disable logging errors generated by API kit router in console?

528 Views Asked by At

Is there a possiblity to disable the errors generated by RAML validation in console by APIkit router. In case of RAML validations such as 400 bad request, I need to generate the error by these errors should not be logged in console. In case of Choice Exception strategy there is a attribute LogException but in case of globalExceptionMapping I could not find it.

Thanks

Sushma

1

There are 1 best solutions below

2
On

On Mule 3.8 (maybe earlier), the mapping-exception-strategy have a property enableNotifications. Such as:

<apikit:mapping-exception-strategy name="api-apiKitGlobalExceptionMapping" enableNotifications="false">