Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Stop emitting unredacted thrift responses by default #152

Closed
@susodapop

Description

@susodapop

Over in dbt-databricks we want to wire-in pysql logs but have found that the complete content of every thrift response is included in the outputted logs. These are tough to redact with a regex because thrift doesn't implement a deterministic kind of serialisation. Instead, the raw bytes are interpreted as utf-8 strings. Rather than fix this in dbt-databricks, we should modify pysql to separate the unredacted logs under a separate logger that most tools can simply ignore.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions