Adjust karma logLevel based on debug flag