ctdb-tools: Switch tickle ACK sending message to INFO level
authorMartin Schwenke <mschwenke@ddn.com>
Tue, 28 Feb 2023 21:51:08 +0000 (08:51 +1100)
committerAmitay Isaacs <amitay@samba.org>
Mon, 10 Jul 2023 14:21:30 +0000 (14:21 +0000)
DEBUG level logging in ctdb_killtcp is very noisy.  The most important
messages when debugging are those for tickle ACKs and TCP RSTs.  TCP
RSTs are already logged at INFO level, so promote tickle ACKs to INFO
level too.

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tools/ctdb_killtcp.c

index f2193fd9fdf9b6123268340cae596933630982f6..fd07f4be83147d3fb2591edfe2070271c200b2ef 100644 (file)
@@ -291,8 +291,8 @@ static int reset_connections_tickle_connection(
                return 1;
        }
 
-       DBG_DEBUG("Sending tickle ACK for connection '%s'\n",
-                 ctdb_connection_to_string(state, conn, true));
+       DBG_INFO("Sending tickle ACK for connection '%s'\n",
+                ctdb_connection_to_string(state, conn, true));
        ret = ctdb_sys_send_tcp(&conn->server, &conn->client, 0, 0, 0);
        if (ret != 0) {
                DBG_ERR("Error sending tickle ACK\n");