Skip to content

Commit

Permalink
(dbt-labs#2511) Remove log messages about opening connections in set_…
Browse files Browse the repository at this point in the history
…connection_name.
  • Loading branch information
southpolemonkey committed Jun 4, 2020
1 parent 05634e6 commit 1cd5118
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Contributors:
- Fixed an argument issue with the `create_schema` macro on bigquery ([#2445](https:/fishtown-analytics/dbt/issues/2445), [#2448](https:/fishtown-analytics/dbt/pull/2448))
- dbt now logs using the adapter plugin's ideas about how relations should be displayed ([dbt-spark/#74](https:/fishtown-analytics/dbt-spark/issues/74), [#2450](https:/fishtown-analytics/dbt/pull/2450))
- The create_adapter_plugin.py script creates a version 2 dbt_project.yml file ([#2451](https:/fishtown-analytics/dbt/issues/2451), [#2455](https:/fishtown-analytics/dbt/pull/2455))
- Remove misleading "Opening a new connection" log message in set_connection_name. [#2511](https:/fishtown-analytics/dbt/issues/2511)


## dbt 0.17.0rc1 (May 12, 2020)
Expand Down
6 changes: 1 addition & 5 deletions core/dbt/adapters/base/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,7 @@ def set_connection_name(self, name: Optional[str] = None) -> Connection:
.format(conn.name)
)
else:
logger.debug(
'Opening a new connection, currently in state {}'
.format(conn.state)
)
conn.handle = LazyHandle(self.open)
conn.handle = LazyHandle(self.open)

conn.name = conn_name
return conn
Expand Down

0 comments on commit 1cd5118

Please sign in to comment.