logging the result instead of print out
Use non-transactional pipeline