]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
minor debug changes
authorAndrew Tridgell <tridge@samba.org>
Thu, 19 Apr 2007 21:47:37 +0000 (07:47 +1000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 19 Apr 2007 21:47:37 +0000 (07:47 +1000)
(This used to be ctdb commit 1950d96458238782c3bfd8e41a053c4be8330ef9)

ctdb/common/ctdb_daemon.c
ctdb/common/ctdb_message.c

index 6c11c7b7300fbd183fc5c22075015e5fd9d7b796..148be39ba2b8168cf160086e2e5175bfc6b94d0c 100644 (file)
@@ -121,6 +121,9 @@ static void daemon_request_register_message_handler(struct ctdb_client *client,
        if (res != 0) {
                DEBUG(0,(__location__ " Failed to register handler %u in daemon\n", 
                         c->srvid));
+       } else {
+               DEBUG(2,(__location__ " Registered message handler for srvid=%u\n", 
+                        c->srvid));
        }
 }
 
index 9de12f6bcb6160a1561456862ae742b749fe7c21..70fcf00c4dde15c37de950fd378021c3d2b60f9b 100644 (file)
@@ -42,7 +42,7 @@ static int ctdb_dispatch_message(struct ctdb_context *ctdb, uint32_t srvid, TDB_
                if (ml->srvid == srvid || ml->srvid == CTDB_SRVID_ALL) break;
        }
        if (ml == NULL) {
-               DEBUG(0,(__location__ " daemon vnn:%d  no msg handler for srvid=%u\n", 
+               DEBUG(1,(__location__ " daemon vnn:%d  no msg handler for srvid=%u\n", 
                         ctdb_get_vnn(ctdb), srvid));
                /* no registered message handler */
                return -1;