Rev 167: minor debug changes in http://samba.org/~tridge/ctdb

tridge at samba.org tridge at samba.org
Thu Apr 19 21:47:38 GMT 2007


------------------------------------------------------------
revno: 167
revision-id: tridge at samba.org-20070419214737-2566236086cf5a53
parent: tridge at samba.org-20070419083149-bc28d74eb9e5df7b
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge
timestamp: Fri 2007-04-20 07:47:37 +1000
message:
  minor debug changes
modified:
  common/ctdb_daemon.c           ctdb_daemon.c-20070409200331-3el1kqgdb9m4ib0g-1
  common/ctdb_message.c          ctdb_message.c-20070208224107-9dnio7x7z33prrmt-1
=== modified file 'common/ctdb_daemon.c'
--- a/common/ctdb_daemon.c	2007-04-19 06:27:56 +0000
+++ b/common/ctdb_daemon.c	2007-04-19 21:47:37 +0000
@@ -121,6 +121,9 @@
 	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));
 	}
 }
 

=== modified file 'common/ctdb_message.c'
--- a/common/ctdb_message.c	2007-04-17 12:27:17 +0000
+++ b/common/ctdb_message.c	2007-04-19 21:47:37 +0000
@@ -42,7 +42,7 @@
 		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;



More information about the samba-cvs mailing list