drf-tracking
drf-tracking copied to clipboard
Log custom Headers information
Hi If possible to log custom headers information? I want to track secret keys which are part of the Post header.
Thanks
@mmehdi I think it's a decent feature. Not sure at the moment how best to log/store headers. Possibly as a JSONField. I always welcome a PR if you have time. I can gladly take a look and merge it in.
might be possible to implement in a similar way "logging_methods" is implemented. We can take custom headers by user. I can give it a try over the weekend.