I am trying to determine if there is a way to remove the Audit Logging that is provided by default in the ASP.NET Boilerplate code.
Looking at the documentation, it appears that removing the selector from the Auditing configuration with the following should work, but it doesn't.
Configuration.Auditing.Selectors.Clear()
The reason being, say, if I wanted to leave auditing enabled, but only wanted to audit certain services rather than all the services of type IApplicationService
.
I have tried to put the above line in various modules, all with no success. All service calls are being logged in the AbpAuditLogs
table.