Skip to content

Reduce Snowflake logging during invocation #269

Closed
@holly-evans

Description

@holly-evans

Description

target-snowflake emits many log entries from the snowflake.connector

To reduce this, package a default logging configuration for target-snowflake to remove these from INFO

References

Activity

edgarrmondragon

edgarrmondragon commented on Oct 8, 2024

@edgarrmondragon
Member

Thanks for logging!

chadcampling-opteon

chadcampling-opteon commented on Dec 3, 2024

@chadcampling-opteon

Is this one just as simple as changing the logging config at https://github.com/MeltanoLabs/target-snowflake/blob/main/target_snowflake_logging.yaml to be INFO and not DEBUG as it is now?

The logging from the snowflake.connector.cursor is making my logs unreadable in cloudwatch while trying to diagnose an issue.

Happy to push a PR if I'm not missing something!

edgarrmondragon

edgarrmondragon commented on Dec 4, 2024

@edgarrmondragon
Member

Is this one just as simple as changing the logging config at https://github.com/MeltanoLabs/target-snowflake/blob/main/target_snowflake_logging.yaml to be INFO and not DEBUG as it is now?

Happy to push a PR if I'm not missing something!

You actually need to package the logging configuration file, so that file won't do and we'd like to keep to output debug logs in CI here. So, #299 should do it. Can you confirm the logs are less spam-y with that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Reduce Snowflake logging during invocation · Issue #269 · MeltanoLabs/target-snowflake