I have configured my logs as such that all logs are getting stored at External Database. Now currently i am seeing logs for all policies/services are getting capture on my external DB.
My requirement is : Is it possible that if i want to debug the policy 'A' ,at that time i should stop the complete logs of rest of all policies in my gateway. Please let me know.
It seems that your wanting to silence logs and/or audits from other services when you want to focus in on one particular service for debugging purposes - is that correct? If so, you can learn more about manipulating audits and log sinks here: https://docops.ca.com/ca-api-gateway/9-3/en/security-configuration-in-policy-manager/tasks-menu-security-options/manage-log-audit-sinks
If I may, I'd suggest rather than disabling audits/logs in those scenarios that you simply put the policy itself in a debug mode, or add in additional audit points to the policy, so that you can get what you need from that policy in the audit viewer. You can even narrow it down straight to that one service in the audit viewer so that all other services are removed from the picture too without severing their audits. This should help the focus be on that one service you'd be wanting to debug in the moment.
Some other reference material:
I agree with Dustin that stopping the logging for other services isn't really the best way to go.
Are you aware that the Audit viewer in the policy manager has options to filter based on the service? This way you will only see logging for this service while you don't have to change what is logged.