provide db/log for logging txs and queries