tdb2: simplify logging levels, rename TDB_DEBUG_* to TDB_LOG_*