Skip to content

Commit 39028ad

Browse files
authored
Merge pull request #1106 from DataDog/nick/remove_sqlserver_connstring_debug
[SQLServver] Remove debug lines about connector string
2 parents e8e105c + 2f5ed65 commit 39028ad

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

sqlserver/datadog_checks/sqlserver/sqlserver.py

-3
Original file line numberDiff line numberDiff line change
@@ -597,13 +597,10 @@ def open_db_connections(self, instance, db_key, db_name=None):
597597
try:
598598
if self._get_connector(instance) == 'adodbapi':
599599
cs += self._conn_string_adodbapi(db_key, instance=instance, db_name=db_name)
600-
self.log.debug("Formatted connection string: {0}".format(cs))
601-
602600
# autocommit: true disables implicit transaction
603601
rawconn = adodbapi.connect(cs, {'timeout':timeout, 'autocommit':True})
604602
else:
605603
cs += self._conn_string_odbc(db_key, instance=instance, db_name=db_name)
606-
self.log.debug("Formatted connection string: {0}".format(cs))
607604
rawconn = pyodbc.connect(cs, timeout=timeout)
608605

609606
self.service_check(self.SERVICE_CHECK_NAME, AgentCheck.OK,

0 commit comments

Comments
 (0)