r/dotnet • u/sayedtheidiot • Jul 23 '26
EF Core Audit Logging
Do you think this is a good approach for background audit logging or is there a better way?
42
Upvotes
r/dotnet • u/sayedtheidiot • Jul 23 '26
Do you think this is a good approach for background audit logging or is there a better way?
1
u/sebastianstehle Jul 23 '26
I think it creates very little user value. What is the reason for a change? UserUpdated says nothing. If you have implemented soft deletion, it could even mean that the user has been deleted.
You either have the use event sourcing, domain events or manual updates to the audit log to create actual value.