From a3d072049e6ae9901cc4ba890ad952c1f0178386 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Tue, 24 Nov 2009 09:27:22 +1100 Subject: [PATCH] reduce the log level for three vacuuming related log messages (This used to be ctdb commit fbc453733d53359b9eba34a7ca9123237a7ecca5) --- ctdb/server/ctdb_vacuum.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ctdb/server/ctdb_vacuum.c b/ctdb/server/ctdb_vacuum.c index da887db4f0c..97a7dfbc012 100644 --- a/ctdb/server/ctdb_vacuum.c +++ b/ctdb/server/ctdb_vacuum.c @@ -725,7 +725,7 @@ static int vacuum_child_destructor(struct ctdb_vacuum_child_context *child_ctx) struct ctdb_db_context *ctdb_db = child_ctx->vacuum_handle->ctdb_db; struct ctdb_context *ctdb = ctdb_db->ctdb; - DEBUG(DEBUG_ERR,("Vacuuming took %.3f seconds for database %s\n", l, ctdb_db->db_name)); + DEBUG(DEBUG_INFO,("Vacuuming took %.3f seconds for database %s\n", l, ctdb_db->db_name)); if (child_ctx->child_pid != -1) { kill(child_ctx->child_pid, SIGKILL); @@ -764,7 +764,7 @@ static void vacuum_child_handler(struct event_context *ev, struct fd_event *fde, char c = 0; int ret; - DEBUG(DEBUG_NOTICE,("Vacuuming child process %d finished for db %s\n", child_ctx->child_pid, child_ctx->vacuum_handle->ctdb_db->db_name)); + DEBUG(DEBUG_INFO,("Vacuuming child process %d finished for db %s\n", child_ctx->child_pid, child_ctx->vacuum_handle->ctdb_db->db_name)); child_ctx->child_pid = -1; ret = read(child_ctx->fd[0], &c, 1); @@ -827,7 +827,7 @@ ctdb_vacuum_event(struct event_context *ev, struct timed_event *te, char cc = 0; close(child_ctx->fd[0]); - DEBUG(DEBUG_NOTICE,("Vacuuming child process %d for db %s started\n", getpid(), ctdb_db->db_name)); + DEBUG(DEBUG_INFO,("Vacuuming child process %d for db %s started\n", getpid(), ctdb_db->db_name)); if (switch_from_server_to_client(ctdb) != 0) { DEBUG(DEBUG_CRIT, (__location__ "ERROR: failed to switch vacuum daemon into client mode. Shutting down.\n"));