summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2023-11-23 21:54:11 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2023-11-23 22:08:49 +0100
commit0ab4721714dfbe84099967bfea23d1ecb6df891a (patch)
tree5263b3e9813ec7b089db5ee1f50d7cf28108d769 /src
parent56e4a01af0b22d7e629fd4db419ae5d6a3a5be50 (diff)
core: remove useless log when ogClient connects to server
The following log message is display for each ogClient that is connected to the ogServer: Sent refresh to: 192.168.2.200 this tells the ogClient to send his current partition table when the connection between ogServer <-> ogClient starts. This is not very useful, remove it.
Diffstat (limited to 'src')
-rw-r--r--src/core.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/core.c b/src/core.c
index 4855f42..24fee79 100644
--- a/src/core.c
+++ b/src/core.c
@@ -304,19 +304,11 @@ static void og_client_timer_cb(struct ev_loop *loop, ev_timer *timer, int events
static void og_agent_send_refresh(struct og_client *cli)
{
struct og_msg_params params;
- int err;
params.ips_array[0] = inet_ntoa(cli->addr.sin_addr);
params.ips_array_len = 1;
- err = og_send_request(OG_METHOD_GET, OG_CMD_REFRESH, &params, NULL);
- if (err < 0) {
- syslog(LOG_ERR, "Can't send refresh to: %s\n",
- params.ips_array[0]);
- } else {
- syslog(LOG_INFO, "Sent refresh to: %s\n",
- params.ips_array[0]);
- }
+ og_send_request(OG_METHOD_GET, OG_CMD_REFRESH, &params, NULL);
}
/* Shut down connection if there is no complete message after 10 seconds. */