Update logging to match logic
authorDennis Schafroth <dennis@indexdata.com>
Tue, 22 May 2012 10:57:58 +0000 (10:57 +0000)
committerDennis Schafroth <dennis@indexdata.com>
Tue, 22 May 2012 10:57:58 +0000 (10:57 +0000)
src/session.c

index 0e1eea7..74495fc 100644 (file)
@@ -751,12 +751,12 @@ enum pazpar2_error_code session_search(struct session *se,
                                        &tval);
             if (parse_ret == 1 && r == 2)
             {
-                session_log(se, YLOG_LOG, "client REUSE %s", client_get_id(cl));
+                session_log(se, YLOG_LOG, "client %s REUSE result", client_get_id(cl));
                 client_reingest(cl);
             }
             else if (r)
             {
-                session_log(se, YLOG_LOG, "client NEW %s", client_get_id(cl));
+                session_log(se, YLOG_LOG, "client %s NEW search", client_get_id(cl));
                 client_start_search(cl);
             }
             no_working++;