From 27f6421fa6caecf832ec544e4d4115301e755556 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 7 Feb 2012 16:41:25 +0100 Subject: s3: Increase debug level of basic ctdb packet handling This clutters the debug level 10 output significantly without much value Autobuild-User: Volker Lendecke Autobuild-Date: Tue Feb 7 18:19:08 CET 2012 on sn-devel-104 --- source3/lib/ctdbd_conn.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source3/lib') diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c index 95dda5258b..12b736deb3 100644 --- a/source3/lib/ctdbd_conn.c +++ b/source3/lib/ctdbd_conn.c @@ -95,10 +95,10 @@ static void cluster_fatal(const char *why) */ static void ctdb_packet_dump(struct ctdb_req_header *hdr) { - if (DEBUGLEVEL < 10) { + if (DEBUGLEVEL < 11) { return; } - DEBUGADD(10, ("len=%d, magic=%x, vers=%d, gen=%d, op=%d, reqid=%d\n", + DEBUGADD(11, ("len=%d, magic=%x, vers=%d, gen=%d, op=%d, reqid=%d\n", (int)hdr->length, (int)hdr->ctdb_magic, (int)hdr->ctdb_version, (int)hdr->generation, (int)hdr->operation, (int)hdr->reqid)); @@ -249,7 +249,7 @@ static bool ctdb_req_complete(const uint8_t *buf, size_t available, msglen = *((uint32 *)buf); - DEBUG(10, ("msglen = %d\n", msglen)); + DEBUG(11, ("msglen = %d\n", msglen)); if (msglen < sizeof(struct ctdb_req_header)) { DEBUG(0, ("Got invalid msglen: %d, expected at least %d for " @@ -349,8 +349,8 @@ static struct messaging_rec *ctdb_pull_messaging_rec(TALLOC_CTX *mem_ctx, return NULL; } - if (DEBUGLEVEL >= 10) { - DEBUG(10, ("ctdb_pull_messaging_rec:\n")); + if (DEBUGLEVEL >= 11) { + DEBUG(11, ("ctdb_pull_messaging_rec:\n")); NDR_PRINT_DEBUG(messaging_rec, result); } @@ -411,7 +411,7 @@ static NTSTATUS ctdb_read_req(struct ctdbd_connection *conn, uint32 reqid, hdr = (struct ctdb_req_header *)state.req.data; - DEBUG(10, ("Received ctdb packet\n")); + DEBUG(11, ("Received ctdb packet\n")); ctdb_packet_dump(hdr); if (hdr->operation == CTDB_REQ_MESSAGE) { -- cgit