Skip to content

Commit 73471e9

Browse files
committed
PECOBLR-86 improve logging on python driver (#556)
* PECOBLR-86 Improve logging for debug level Signed-off-by: Sai Shree Pradhan <saishree.pradhan@databricks.com> * PECOBLR-86 Improve logging for debug level Signed-off-by: Sai Shree Pradhan <saishree.pradhan@databricks.com> * fixed format Signed-off-by: Sai Shree Pradhan <saishree.pradhan@databricks.com> * used lazy logging Signed-off-by: Sai Shree Pradhan <saishree.pradhan@databricks.com> * changed debug to error logs Signed-off-by: Sai Shree Pradhan <saishree.pradhan@databricks.com> * used lazy logging Signed-off-by: Sai Shree Pradhan <saishree.pradhan@databricks.com> --------- Signed-off-by: Sai Shree Pradhan <saishree.pradhan@databricks.com>
1 parent 2fc3cb6 commit 73471e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/databricks/sql/thrift_backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1090,7 +1090,7 @@ def fetch_results(
10901090
return queue, resp.hasMoreRows
10911091

10921092
def close_command(self, op_handle):
1093-
logger.debug(f"ThriftBackend.close_command(op_handle={op_handle})")
1093+
logger.debug("ThriftBackend.close_command(op_handle=%s)", op_handle)
10941094
req = ttypes.TCloseOperationReq(operationHandle=op_handle)
10951095
resp = self.make_request(self._client.CloseOperation, req)
10961096
return resp.status

0 commit comments

Comments
 (0)