dbwrap: changed log level for information about lock order
authorAndrew Tridgell <tridge@samba.org>
Thu, 9 Feb 2012 03:10:41 +0000 (14:10 +1100)
committerAndrew Tridgell <tridge@samba.org>
Thu, 9 Feb 2012 04:41:49 +0000 (15:41 +1100)
we were filling our logs with lock ordering debug lines

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

source3/lib/dbwrap/dbwrap.c

index e443fa5eb3481d6d6f737088261da3498f82335f..11ab5d91f0c9ae8637cdb7df557f7be290f8b847 100644 (file)
@@ -118,7 +118,7 @@ static struct dbwrap_lock_order_state *dbwrap_check_lock_order(
 
        used = ffs(lock_order_mask);
 
-       DEBUG(1, ("used=%d, lock_order=%d, idx=%d\n", used,
+       DEBUG(5, ("used=%d, lock_order=%d, idx=%d\n", used,
                  (int)db->lock_order, (int)idx));
 
        if ((used != 0) && (used-1 <= idx)) {