Added the ability for no logging