[SJS-122]: Fix for setDebugMode called when setLogLevel is called