refactor: add db trace log