From: Andrew Tridgell Date: Thu, 19 Apr 2007 21:47:37 +0000 (+1000) Subject: minor debug changes X-Git-Tag: tevent-0.9.20~348^2~2864 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=01b7eac5369f6737430994d9c20ff359acc5507b;p=thirdparty%2Fsamba.git minor debug changes (This used to be ctdb commit 1950d96458238782c3bfd8e41a053c4be8330ef9) --- diff --git a/ctdb/common/ctdb_daemon.c b/ctdb/common/ctdb_daemon.c index 6c11c7b7300..148be39ba2b 100644 --- a/ctdb/common/ctdb_daemon.c +++ b/ctdb/common/ctdb_daemon.c @@ -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)); } } diff --git a/ctdb/common/ctdb_message.c b/ctdb/common/ctdb_message.c index 9de12f6bcb6..70fcf00c4dd 100644 --- a/ctdb/common/ctdb_message.c +++ b/ctdb/common/ctdb_message.c @@ -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;