Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter databricks-sql-connector logs to warn or higher #437

Merged
merged 4 commits into from
Sep 7, 2023
Merged

Conversation

benc-db
Copy link
Collaborator

@benc-db benc-db commented Sep 5, 2023

Resolves #432

Description

databricks-sql-connector is chatty, which ends up making dbt logs harder to read. Setting level to WARN by default, so that issues still make it through, but we don't see extra details about every connection initiated and closed.

Checklist

  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • I have updated the CHANGELOG.md and added information about my change to the "dbt-databricks next" section.

@benc-db benc-db temporarily deployed to azure-prod September 5, 2023 22:04 — with GitHub Actions Inactive
@benc-db benc-db temporarily deployed to azure-prod September 5, 2023 22:04 — with GitHub Actions Inactive
@benc-db benc-db marked this pull request as ready for review September 5, 2023 22:05
susodapop
susodapop previously approved these changes Sep 6, 2023
@@ -3,6 +3,7 @@
### Fixes

- Improved legibility of python stack traces ([#434](https://github.com/databricks/dbt-databricks/pull/434)).
- Streamlined sql connector output in dbt.log ([#437](https://github.com/databricks/dbt-databricks/pull/437))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we please please please fix your auto formatter settings so we don't get so many changed lines in your pull requests 🙏 ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better?

@benc-db benc-db temporarily deployed to azure-prod September 6, 2023 22:40 — with GitHub Actions Inactive
@benc-db benc-db temporarily deployed to azure-prod September 6, 2023 22:40 — with GitHub Actions Inactive
@benc-db benc-db temporarily deployed to azure-prod September 7, 2023 15:55 — with GitHub Actions Inactive
@benc-db benc-db temporarily deployed to azure-prod September 7, 2023 15:55 — with GitHub Actions Inactive
@benc-db benc-db temporarily deployed to azure-prod September 7, 2023 16:38 — with GitHub Actions Inactive
@benc-db benc-db temporarily deployed to azure-prod September 7, 2023 16:38 — with GitHub Actions Inactive
@benc-db benc-db merged commit b83d603 into main Sep 7, 2023
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disable log output of databricks-sql-connector in cli
3 participants