From 47cd6e7c3bf3224e47470998d90366370df86150 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 2 Sep 2014 14:03:36 +0100 Subject: [PATCH] Reduce noise of maps. --- src/libutil/map.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libutil/map.c b/src/libutil/map.c index 052c901a8a..6453984e3c 100644 --- a/src/libutil/map.c +++ b/src/libutil/map.c @@ -166,9 +166,10 @@ http_map_finish (struct rspamd_http_connection *conn, map->fin_callback (map->pool, &cbd->cbdata); *map->user_data = cbd->cbdata.cur_data; cbd->data->last_checked = msg->date; + msg_info ("read map data from %s", cbd->data->host); } else if (msg->code == 304) { - msg_info ("data is not modified for server %s", + msg_debug ("data is not modified for server %s", cbd->data->host); cbd->data->last_checked = msg->date; } @@ -373,7 +374,7 @@ http_callback (gint fd, short what, void *ud) cbd->tv.tv_usec = 0; cbd->fd = sock; data->conn->ud = cbd; - msg_info ("reading map data from %s", data->host); + msg_debug ("reading map data from %s", data->host); write_http_request (cbd); } } -- 2.47.3