More logging in db manager