How to disable audit log programmatically in ABP [Inside any isolated db transaction] #22223
Unanswered
BirajMainali
asked this question in
General
Replies: 1 comment
-
You can override the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am working on a scenario where I need to clone a large dataset, duplicating every entity record with a new identifier. To ensure data consistency, I have applied the Serializable isolation level. The duplication process request will trigger via GRPC for all the Microservices available;
For optimization purposes, I need to disable the audit log within this transaction since logging these operations is unnecessary and creates redundant records. However, I cannot disable audit logging globally, as other concurrent processes still require it.
I am looking for a way to disable the audit log programmatically within a specific transaction without affecting other operations. Could anyone guide me on how to achieve this in ABP?
Beta Was this translation helpful? Give feedback.
All reactions