You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are some sensitive data that would need to be encrypted before being stored to disk. Now I am wondering if I could use a custom LOGGING_JSON_ENCODER. But by looking at the code this is really only for encoding and not decoding. And I would need to decode an encrypted json.
EDIT: Alternatively I would also be happy if we could log into a very different database, like this comment suggests was an Idea once:
# TODO: Is not completed feature, do not use it!
# It will prevent error in database if User is not in the same database (because of ForeignKey)
LOGGING_DATABASE = getattr(settings, 'LOGGING_DATABASE', 'default')
The text was updated successfully, but these errors were encountered:
Hello @KIC , I will try to implement LOGGING_JSON_DECODER in the near future, but to be able to put logs in another database, I think it will be a pretty big feature, not sure I will have time for it :(
There are some sensitive data that would need to be encrypted before being stored to disk. Now I am wondering if I could use a custom
LOGGING_JSON_ENCODER
. But by looking at the code this is really only for encoding and not decoding. And I would need to decode an encrypted json.EDIT: Alternatively I would also be happy if we could log into a very different database, like this comment suggests was an Idea once:
The text was updated successfully, but these errors were encountered: