Closed zpqrtbnk closed 7 years ago
PR https://github.com/zpqrtbnk/Zbu.ModelsBuilder/pull/139
This adds a new Umbraco.ModelsBuilder.DebugLevel
setting that is zero by default, and when it's zero some of the log statements such as the one in the description are skipped. Set to greater than zero to re-enable them.
Merged
When running with log4net set to DEBUG level, ModelsBuilder can flood the log eg with its
Ensuring models.
orRazorBuildProvider.CodeGenerationStarted
messages. These are useful for low-level debugging, but some ppl turn debugging on on live websites (to figure out some other issue) and then their log explodes.