From 93a8be7befa291c766dc2a1c2274c2a5f9de9c0a Mon Sep 17 00:00:00 2001 From: "Paul \"LeoNerd\" Evans" Date: Thu, 14 Aug 2014 16:15:53 +0100 Subject: [PATCH] We really don't need debug logging of all the SQL statements we execute; we're quite happy these all work now --- synapse/storage/stream.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/synapse/storage/stream.py b/synapse/storage/stream.py index 1dedffac49..47a1f2c45a 100644 --- a/synapse/storage/stream.py +++ b/synapse/storage/stream.py @@ -72,7 +72,6 @@ class StreamStore(SQLBaseStore): "messages", query, query_args, from_pkey, to_pkey, limit=limit ) - logger.debug("[SQL] %s : %s", query, query_args) cursor = txn.execute(query, query_args) return self._as_events(cursor, MessagesTable, from_pkey) @@ -110,7 +109,6 @@ class StreamStore(SQLBaseStore): limit=limit, group_by=" GROUP BY messages.id " ) - logger.debug("[SQL] %s : %s", query, query_args) cursor = txn.execute(query, query_args) # convert the result set into events @@ -195,7 +193,6 @@ class StreamStore(SQLBaseStore): "feedback", query, query_args, from_pkey, to_pkey, limit=limit ) - logger.debug("[SQL] %s : %s", query, query_args) cursor = txn.execute(query, query_args) return self._as_events(cursor, FeedbackTable, from_pkey) @@ -227,7 +224,6 @@ class StreamStore(SQLBaseStore): "room_data", query, query_args, from_pkey, to_pkey, limit=limit ) - logger.debug("[SQL] %s : %s", query, query_args) cursor = txn.execute(query, query_args) return self._as_events(cursor, RoomDataTable, from_pkey)