Add log output to wipedb and backupdb
[ctdb.git] / tools / ctdb.c
index 674622a68afa129dabbf86a5a019f316964d4702..ec9481e96b9813f657ed8364cc9725c574c69d68 100644 (file)
@@ -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;
 }