lower the debug levels for the "create FD messages" so we dont fill up the logs.
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 21 Oct 2009 04:26:24 +0000 (15:26 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 21 Oct 2009 04:26:24 +0000 (15:26 +1100)
common/system_linux.c
server/ctdb_daemon.c
server/ctdb_recoverd.c
server/eventscript.c
tcp/tcp_connect.c

index 999208d2fe727a0b85392071d4afb82ced324c89..d8229debb7a6cb57ddf15c5205cd3a1936e98422 100644 (file)
@@ -92,7 +92,7 @@ int ctdb_sys_send_arp(const ctdb_sock_addr *addr, const char *iface)
                        return -1;
                }
 
-               DEBUG(DEBUG_NOTICE, (__location__ " Created SOCKET FD:%d for sending arp\n", s));
+               DEBUG(DEBUG_DEBUG, (__location__ " Created SOCKET FD:%d for sending arp\n", s));
                strncpy(ifr.ifr_name, iface, sizeof(ifr.ifr_name));
                if (ioctl(s, SIOCGIFINDEX, &ifr) < 0) {
                        DEBUG(DEBUG_CRIT,(__location__ " interface '%s' not found\n", iface));
index f7ca28f38b79f6a55c550c0e2055cf5fb2e93373..532887c7842f788f5c598721b5010fa7aa212043 100644 (file)
@@ -565,7 +565,7 @@ static void ctdb_accept_client(struct event_context *ev, struct fd_event *fde,
        set_nonblocking(fd);
        set_close_on_exec(fd);
 
-       DEBUG(DEBUG_NOTICE,(__location__ " Created SOCKET FD:%d to connected child\n", fd));
+       DEBUG(DEBUG_DEBUG,(__location__ " Created SOCKET FD:%d to connected child\n", fd));
 
        client = talloc_zero(ctdb, struct ctdb_client);
 #ifdef _AIX
index e301baaab8c76747b52893db5b12973c01dfbf32..08d7dc2e67047667f2940b119924b68e7458a4c8 100644 (file)
@@ -2522,7 +2522,7 @@ static int check_recovery_lock(struct ctdb_context *ctdb)
        state->fd[1] = -1;
        set_close_on_exec(state->fd[0]);
 
-       DEBUG(DEBUG_NOTICE, (__location__ " Created PIPE FD:%d for check_recovery_lock\n", state->fd[0]));
+       DEBUG(DEBUG_DEBUG, (__location__ " Created PIPE FD:%d for check_recovery_lock\n", state->fd[0]));
 
        talloc_set_destructor(state, check_reclock_destructor);
 
index f4c362615c2432d81750079a747399152251ca25..e84f1308ec7053b58a5f6b4c78ade5f4640814a9 100644 (file)
@@ -817,7 +817,7 @@ static int ctdb_event_script_callback_v(struct ctdb_context *ctdb,
        close(state->fd[1]);
        set_close_on_exec(state->fd[0]);
 
-       DEBUG(DEBUG_NOTICE, (__location__ " Created PIPE FD:%d to child eventscript process\n", state->fd[0]));
+       DEBUG(DEBUG_DEBUG, (__location__ " Created PIPE FD:%d to child eventscript process\n", state->fd[0]));
 
        event_add_fd(ctdb->ev, state, state->fd[0], EVENT_FD_READ|EVENT_FD_AUTOCLOSE,
                     ctdb_event_script_handler, state);
index 20748606018dd3dbe11bffc3f3418d18e103a788..c74487be863b6fcc60e7f0cbce4e7ccc73606373 100644 (file)
@@ -158,7 +158,7 @@ void ctdb_tcp_node_connect(struct event_context *ev, struct timed_event *te,
        set_nonblocking(tnode->fd);
        set_close_on_exec(tnode->fd);
 
-       DEBUG(DEBUG_NOTICE, (__location__ " Created TCP SOCKET FD:%d\n", tnode->fd));
+       DEBUG(DEBUG_DEBUG, (__location__ " Created TCP SOCKET FD:%d\n", tnode->fd));
 
        /* Bind our side of the socketpair to the same address we use to listen
         * on incoming CTDB traffic.