From: Adam Dickmeiss Date: Mon, 2 Sep 2013 10:47:54 +0000 (+0200) Subject: Rephrase logs about start-search X-Git-Tag: v1.6.35~9 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;h=bd75f23928644eba826382a45d42756cdd2ac7b1;p=pazpar2-moved-to-github.git Rephrase logs about start-search --- diff --git a/src/client.c b/src/client.c index 662937f..a8dde60 100644 --- a/src/client.c +++ b/src/client.c @@ -867,12 +867,13 @@ int client_start_search(struct client *cl) /* Nothing has changed and we already have a result */ if (cl->same_search == 1 && rc_prep_connection == 2) { - session_log(se, YLOG_LOG, "client %s REUSE result", client_get_id(cl)); + session_log(se, YLOG_LOG, "client %s resuse result", client_get_id(cl)); return client_reingest(cl); } else if (!rc_prep_connection) { - session_log(se, YLOG_LOG, "client %s FAILED to search: No connection.", client_get_id(cl)); + session_log(se, YLOG_LOG, "client %s postponing search: No connection", + client_get_id(cl)); return -1; } co = client_get_connection(cl); @@ -880,7 +881,7 @@ int client_start_search(struct client *cl) link = connection_get_link(co); assert(link); - session_log(se, YLOG_LOG, "client %s NEW search", client_get_id(cl)); + session_log(se, YLOG_LOG, "client %s new search", client_get_id(cl)); cl->diagnostic = 0; cl->filtered = 0;