api-manager
api-manager copied to clipboard
Change printStackTrace property of 400 ExceptionCodes to 'false'
Exception codes in src/main/java/org/wso2/carbon/apimgt/api/ExceptionCodes.java has items of 400 type (status code), but the printStackTrace property of most of them are set to default 'true'. These needs to be set 'false' as for the 400 (bad request) scenarios, we should not print anything in the server logs. Check such all codes and change the value to 'false' appropriately if the related scenario is completely a "bad request" from client.