Closed mallucodewizard closed 1 year ago
As of now, it's not supported here, but I'll suggest you override the api_logger_middleware middleware or use signals to add more custom info before storing anywhere.
Let me know if you need help regarding this.
yea
As of now, it's not supported here, but I'll suggest you override the api_logger_middleware middleware or use signals to add more custom info before storing anywhere.
Let me know if you need help regarding this.
yea i think overriding middleware might help but using signals wont because the kwargs doesnt contain the request object. if you could provide the request object in kwargs in next update it will be really helpful
Sure, I'll update this soon.
Closing due to inactivity.
Is there any way to add user details to the logs for eg: username or user id.