disabling my log statements when I set debug constant to false