s4-ldb: add a LDB_FLG_ENABLE_TRACING for full ldb tracing