summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-02-07 16:41:25 +0100
committerVolker Lendecke <vl@samba.org>2012-02-07 18:19:08 +0100
commit27f6421fa6caecf832ec544e4d4115301e755556 (patch)
tree51c1c38a0de290e22d26c1d3493c97b6ef3127c1 /source3/lib
parente32ad9b58648878e65c665797ab10dbadce16c14 (diff)
downloadsamba-27f6421fa6caecf832ec544e4d4115301e755556.tar.gz
samba-27f6421fa6caecf832ec544e4d4115301e755556.tar.bz2
samba-27f6421fa6caecf832ec544e4d4115301e755556.zip
s3: Increase debug level of basic ctdb packet handling
This clutters the debug level 10 output significantly without much value Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Tue Feb 7 18:19:08 CET 2012 on sn-devel-104
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/ctdbd_conn.c12
1 files changed, 6 insertions, 6 deletions
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) {