prevents loop of isLogLevel by removing debug statement