mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-19 18:22:11 +08:00
同步OpenAuth.Core
修复mvc三级菜单; Reposiroty单元测试读取webapi配置文件; 修复日志打印2次;
This commit is contained in:
@@ -17,7 +17,7 @@ namespace OpenAuth.WebApi
|
||||
.ConfigureLogging((hostingContext, logging) =>
|
||||
{
|
||||
logging.ClearProviders(); //去掉默认的日志
|
||||
logging.AddLog4Net();
|
||||
// logging.AddLog4Net();
|
||||
})
|
||||
.UseServiceProviderFactory(
|
||||
new AutofacServiceProviderFactory()) //将默认ServiceProviderFactory指定为AutofacServiceProviderFactory
|
||||
|
Reference in New Issue
Block a user