adds some logging around DB activity