From: Adam Dickmeiss Date: Mon, 1 Sep 2014 13:28:45 +0000 (+0200) Subject: Don't log timing of show X-Git-Tag: v1.7.4~3 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=84aba98c6b20e5363e47249d40e928eec42ccd72;p=pazpar2-moved-to-github.git Don't log timing of show We already log the time elapsed for each HTTP request so this is kind of redundant these days. --- diff --git a/src/session.c b/src/session.c index 5f8cb7d..e978425 100644 --- a/src/session.c +++ b/src/session.c @@ -57,7 +57,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include #include -#define USE_TIMING 1 +#define USE_TIMING 0 #if USE_TIMING #include #endif @@ -1282,6 +1282,12 @@ int session_fetch_more(struct session *se) { session_log(se, YLOG_LOG, "%s: no more to fetch", client_get_id(cl)); + session_log(se, YLOG_LOG, "%s: hits=" ODR_INT_PRINTF + " records=%d filtered=%d", + client_get_id(cl), + client_get_hits(cl), + client_get_num_records(cl), + client_get_num_records_filtered(cl)); } } else