ServiceStack's internal logging isn't something I want to have in my logs. How do we disable the internal logging, or at least suppress it so it doesn't clog the log?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
When configuring your LogManager just set it to an instance of NullLogFactory
LogManager.LogFactory = new NullLogFactory();