Added the ability to restrict sensitive data from getting logged