File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
src/AbpCompanyName.AbpProjectName.Web Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11using System ;
22using Abp . AspNetCore ;
3+ using Abp . Castle . Logging . Log4Net ;
34using Abp . EntityFrameworkCore ;
45using AbpCompanyName . AbpProjectName . EntityFrameworkCore ;
56using Castle . Facilities . Logging ;
@@ -27,7 +28,7 @@ public IServiceProvider ConfigureServices(IServiceCollection services)
2728 {
2829 //Configure Log4Net logging
2930 options . IocManager . IocContainer . AddFacility < LoggingFacility > (
30- f => f . UseLog4Net ( ) . WithConfig ( "log4net.config" )
31+ f => f . UseAbpLog4Net ( ) . WithConfig ( "log4net.config" )
3132 ) ;
3233 } ) ;
3334 }
Original file line number Diff line number Diff line change 22 "dependencies" : {
33 "AbpCompanyName.AbpProjectName.Application" : " 1.0.0.0-*" ,
44 "AbpCompanyName.AbpProjectName.EntityFrameworkCore" : " 1.0.0.0-*" ,
5- "Castle.Windsor-log4net" : " 3.3.0" ,
65 "Castle.LoggingFacility.MsLogging" : " 1.0.0" ,
76 "Microsoft.AspNetCore.Diagnostics" : " 1.0.0" ,
87 "Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" : " 1.0.0" ,
3130 "version" : " 1.0.0-preview2-final" ,
3231 "type" : " build"
3332 },
34- "Abp.AspNetCore" : " 0.11.0.2"
33+ "Abp.AspNetCore" : " 0.11.0.2" ,
34+ "Abp.Castle.Log4Net" : " 0.11.0.2"
3535 },
3636
3737 "tools" : {
You can’t perform that action at this time.
0 commit comments