# HG changeset patch # User Kim Alvefur # Date 1456079340 -3600 # Node ID 3e7c6919019321a2a7e03aaf0afddb7d14c4b8fe # Parent d350e475f94e9de59b95ff6517e7e556d00ed80c mod_storage_sql: Remove debug logging of archive queries diff -r d350e475f94e -r 3e7c69190193 plugins/mod_storage_sql.lua --- a/plugins/mod_storage_sql.lua Sun Feb 21 19:25:01 2016 +0100 +++ b/plugins/mod_storage_sql.lua Sun Feb 21 19:29:00 2016 +0100 @@ -275,7 +275,6 @@ 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 @@ 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