We have Audit logs which will log the events triggered on App services(Add,Edit,Delete and so on) . Right now we are getting Time,UserName,Service,Action,Ip Address and Browser details from the servoce
One of our client requirement is that , he wants JSON result of an API service to get logged into this Audit Logs. However, we are unable to find a way to extend the current logging feature to accomodate JSON output.
Can you please guide us how we can achieve this using existing logging functionality ?
Any pointers in this direction would be helpful. Thanks.
2 Answer(s)
-
0
he wants JSON result of an API service to get logged into this Audit Logs.
hi
The audit log can save the return value of the method.
https://aspnetboilerplate.com/Pages/Documents/Audit-Logging#configuration
SaveReturnValues: Used to enable/disable to save return values. Default: false.
-
0
Thank you so much @maliming . This worked .