dean_morin
06/08/2022, 7:58 PMmy meltano.yml I have:
mappers:
- name: transform-field
variant: transferwise
pip_url: pipelinewise-transform-field
executable: transform-field
mappings:
- name: null-huge-json-blobs
...
As soon as I add this mapper into a pipeline (meltano run tap-postgres null-huge-blobs-in-event-log-json target-snowflake) it logs every single singer message, include RECORD types which include sensitive data
I tried changing the logging level as described here https://sdk.meltano.com/en/latest/implementation/logging.html
I added both of these to my Dockerfile, but it’s still logging at level info:
ENV TRANSFORM_FIELD_LOGLEVEL warning
ENV NULL_HUGE_BLOBS_IN_EVENT_LOG_JSON_LOGLEVEL warningdean_morin
06/08/2022, 8:01 PMaaronsteers
06/08/2022, 8:30 PMaaronsteers
06/08/2022, 8:31 PMaaronsteers
06/08/2022, 8:32 PMaaronsteers
06/08/2022, 8:34 PMI tried changing the logging level as described here https://sdk.meltano.com/en/latest/implementation/logging.htmlThis one is maintained by the very good people at Pipelinewise - that one is not built on the SDK though, although it was the inspiration for our own mapper.
dean_morin
06/08/2022, 8:36 PMaaronsteers
06/08/2022, 9:00 PMdean_morin
06/08/2022, 9:05 PMdean_morin
06/08/2022, 9:08 PMif size(event) > 16MB then remove row
if size(event) > 16MB then set event to NULL
if event_type = "big_event" then remove row
if event_type = "big_event" then set event to NULL
`