server: debug redundant takeover ip events with level INFO
authorStefan Metzmacher <metze@samba.org>
Mon, 18 Jan 2010 14:22:16 +0000 (15:22 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 20 Jan 2010 10:11:03 +0000 (11:11 +0100)
metze

server/ctdb_takeover.c

index b7ce307b13c6c9f04eb3e3fefb9a4a4fa44288c5..60bfb59c8deab6fcce748c366fb3ee5a396183e4 100644 (file)
@@ -606,6 +606,10 @@ int32_t ctdb_control_takeover_ip(struct ctdb_context *ctdb,
                 * The interface is up and the kernel known the ip
                 * => do nothing
                 */
+               DEBUG(DEBUG_INFO,("Redundant takeover of IP %s/%u on interface %s (ip already held)\n",
+                       ctdb_addr_to_str(&pip->addr),
+                       vnn->public_netmask_bits,
+                       ctdb_vnn_iface_string(vnn)));
                return 0;
        }