[asterisk-commits] realtime converter: Suppress echo of SQL statements (testsuite[master])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Nov 16 13:42:39 CST 2016


Anonymous Coward #1000019 has submitted this change and it was merged. ( https://gerrit.asterisk.org/4405 )

Change subject: realtime_converter: Suppress echo of SQL statements
......................................................................


realtime_converter: Suppress echo of SQL statements

The echo of setup and teardown SQL statements provides no useful
information but significantly increases log sizes making it difficult
to troubleshoot test failures.

Change-Id: I2c326703788241b6c1f931d703b54a6b42cb0c9a
---
M lib/python/asterisk/realtime_converter.py
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Kevin Harwell: Looks good to me, but someone else must approve
  Anonymous Coward #1000019: Verified
  Joshua Colp: Looks good to me, approved



diff --git a/lib/python/asterisk/realtime_converter.py b/lib/python/asterisk/realtime_converter.py
index ca7e688..3f50b5f 100644
--- a/lib/python/asterisk/realtime_converter.py
+++ b/lib/python/asterisk/realtime_converter.py
@@ -236,7 +236,7 @@
 
         self.meta = MetaData()
         self.engine = create_engine('{0}://{1}:{2}@{3}:{4}/{5}'.format(engine,
-            username, password, host, port, database), echo=True)
+            username, password, host, port, database), echo=False)
         self.conn = self.engine.connect()
 
         self.modules_conf_exists = False

-- 
To view, visit https://gerrit.asterisk.org/4405
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I2c326703788241b6c1f931d703b54a6b42cb0c9a
Gerrit-PatchSet: 1
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>



More information about the asterisk-commits mailing list