LogLevel.Off check moved to correct location

- removed some comments