aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-02-21 19:29:00 +0100
committerKim Alvefur <zash@zash.se>2016-02-21 19:29:00 +0100
commit70c1c2a643db61dbc65b4bf77996e8337d8612ed (patch)
tree11e58ba6f736e7ab5675fe8791fe6ace59415ae7
parent2af32832aeb6ad8b1786f5a81f8bdd2f735e0969 (diff)
downloadprosody-70c1c2a643db61dbc65b4bf77996e8337d8612ed.tar.gz
prosody-70c1c2a643db61dbc65b4bf77996e8337d8612ed.zip
mod_storage_sql: Remove debug logging of archive queries
-rw-r--r--plugins/mod_storage_sql.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/mod_storage_sql.lua b/plugins/mod_storage_sql.lua
index a11523d0..af2bcef4 100644
--- a/plugins/mod_storage_sql.lua
+++ b/plugins/mod_storage_sql.lua
@@ -275,7 +275,6 @@ function archive_store:find(username, query)
end
sql_query = sql_query:format(t_concat(where, " AND "), query.reverse and "DESC" or "ASC", query.limit and " LIMIT ?" or "");
- module:log("debug", sql_query);
return engine:select(sql_query, unpack(args));
end);
if not ok then return ok, result end
@@ -301,7 +300,6 @@ function archive_store:delete(username, query)
archive_where(query, args, where);
archive_where_id_range(query, args, where);
sql_query = sql_query:format(t_concat(where, " AND "));
- module:log("debug", sql_query);
return engine:delete(sql_query, unpack(args));
end);
end