Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toggle logging of certain fields #65

Open
whippersnapper opened this issue Aug 6, 2017 · 3 comments
Open

Toggle logging of certain fields #65

whippersnapper opened this issue Aug 6, 2017 · 3 comments

Comments

@whippersnapper
Copy link

Is there currently a way to enable/disable (toggling) logging of certain fields? For example, if I didn't want to capture the logging of response field. Would that be possible currently? TIA.

@avelis
Copy link
Collaborator

avelis commented Aug 6, 2017

@whippersnapper As far as I know there isn't a way to set that via a settings file. However, I can strip out the response data via Django model's pre_save signal.

@avelis
Copy link
Collaborator

avelis commented Aug 6, 2017

@whippersnapper The best suggestion for this kind of approach is to use a pre_save signal, or make a PR that creates a pre-save-processor before the actual save.

@whippersnapper
Copy link
Author

@avelis Thanks for the fast feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants