0
viswajwalith created
- ABP Framework version: v5.1.3
- UI type: MVC
- DB provider: EF Core / MongoDB
- Tiered (MVC) or Identity Server Separated (Angular): yes
- Exception message and stack trace:
- Steps to reproduce the issue:"
We would like to Turn Off the Audit Logging for Specific Tenants , we have a feature for Audit Logging but it just hiding the adult log page for that tenant not the entries into Audit Tables "AbpAuditLogs" & "AbpAuditLogActions"
are we missing anything here? Please advise.
1 Answer(s)
-
0
hi
This property controls the show and hides UI.
You can override the
AbpAuditingMiddleware
And check the current tenant to disable save to DB.if (currentTenat.Id == xxx) { await next(context); return; }
https://github.com/abpframework/abp/blob/c78497a4cebf1ca39e355b6b62185db4a291dc80/framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/Auditing/AbpAuditingMiddleware.cs#L39