gofr
gofr copied to clipboard
Support to filter and mask PII data from logs at the framework level
Due to privacy concerns, many times we have to mask PII data from logs, rather than each service writing their own filter and masking libraries, This could be supported at the framework level.
Expected Behaviour:
- Gofr logger supports filter interface which can be implemented.
- Default filter interface implementation by the framework.
- Support struct tags for to filter particular fields from the struct while logging.
Attaching references where this is implemented:
- https://go-kratos.dev/en/docs/component/log/#filter-log-filtering
- https://github.com/m-mizutani/masq
@srijan-27 Please assign this to me.
Sure @srinivas365 - assigning this to you.
@srinivas365 - Hi, just wanted to know if you are working on it? Pls let me know if you are stuck or need any help.
@srijan-27 got little busy with projects. unassigning myself.