Skip to content

Commit

Permalink
feat(ingest/snowflake): log queries at info level (datahub-project#10745
Browse files Browse the repository at this point in the history
)
  • Loading branch information
hsheth2 authored Jun 18, 2024
1 parent b8214b0 commit c2b6272
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def get_connection(self) -> SnowflakeConnection:
class SnowflakeQueryMixin:
def query(self: SnowflakeQueryProtocol, query: str) -> Any:
try:
self.logger.debug(f"Query : {query}", stacklevel=2)
self.logger.info(f"Query : {query}", stacklevel=2)
resp = self.get_connection().cursor(DictCursor).execute(query)
return resp

Expand Down

0 comments on commit c2b6272

Please sign in to comment.