From 704550edf80031baefd0341712e60aea31b27c5c Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Tue, 5 Jul 2011 06:29:00 +1000 Subject: [PATCH] Add log output to wipedb and backupdb CQ S1025379 --- tools/ctdb.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/ctdb.c b/tools/ctdb.c index 674622a6..ec9481e9 100644 --- a/tools/ctdb.c +++ b/tools/ctdb.c @@ -4142,6 +4142,9 @@ done: DEBUG(DEBUG_ERR,("close failed: %s\n", strerror(errno))); } } + + DEBUG(DEBUG_ERR,("Database acked up to %s\n", argv[1])); + talloc_free(tmp_ctx); return status; } @@ -4585,6 +4588,8 @@ static int control_wipedb(struct ctdb_context *ctdb, int argc, return -1; } + DEBUG(DEBUG_ERR, ("Database wiped.\n")); + talloc_free(tmp_ctx); return 0; } -- 2.34.1