- ABP Framework version: v7.0.0
- UI type: Blazor
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): no
On which criteria methods are added on the audit or not?
From the doc here, it seems that by default all methods write to the log table
https://docs.abp.io/en/abp/latest/Audit-Logging
In my solution, I have the issue that most of my methods do not write on the table.
It is well setup, I have "UseAuditing()" on my module and all should be ok, for example, the /Account/Login is logged all the time. But most of other methods from my application services do not appears but they should if I did not add "[DisableAuditing]" right?
Something even more strange, I have a method that run any times I login to build my menu, when login as admin it write on the log table, but if log with another account it doesn't...
Any explanation about how to add all methods to this audit tables?
To try to understand on how logs works, I did this:
1- Create a new Blazor server solution and add an entity 2- Open the entity view, add item, edit it, delete it 3- Open audit log table
I can see that the methods Create, Delete and Get write on the log table, but I have nothing about GetList and Update.
Why GetList and Update are not in log tables if others are? I did nothing appart of buiding from template, is there anything wrong on ABP or something else not documented should be done?
Thanks
4 Answer(s)
-
0
hi
1- Create a new Blazor server solution and add an entity 2- Open the entity view, add item, edit it, delete it 3- Open audit log table
Can you share the project with me? [email protected]