summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2014-08-14 16:15:53 +0100
committerPaul "LeoNerd" Evans <paul@matrix.org>2014-08-14 16:15:57 +0100
commit93a8be7befa291c766dc2a1c2274c2a5f9de9c0a (patch)
tree05c1be3fcc062796826d31cbb4d41d9da83b187e /synapse/storage
parentAuto-correct the username when logging in if there isn't an @ (diff)
downloadsynapse-93a8be7befa291c766dc2a1c2274c2a5f9de9c0a.tar.xz
We really don't need debug logging of all the SQL statements we execute; we're quite happy these all work now
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/stream.py4
1 files changed, 0 insertions, 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)