diff options
author | Kim Alvefur <zash@zash.se> | 2016-02-21 19:29:00 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-02-21 19:29:00 +0100 |
commit | b3b5222557fe854b3c0cc4abfad0a0ebb288fe01 (patch) | |
tree | 11e58ba6f736e7ab5675fe8791fe6ace59415ae7 | |
parent | a729f9553c180888628737842712ce8128c25671 (diff) | |
download | prosody-b3b5222557fe854b3c0cc4abfad0a0ebb288fe01.tar.gz prosody-b3b5222557fe854b3c0cc4abfad0a0ebb288fe01.zip |
mod_storage_sql: Remove debug logging of archive queries
-rw-r--r-- | plugins/mod_storage_sql.lua | 2 |
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 |