File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
AbpCompanyName.AbpProjectName.WebMpa
AbpCompanyName.AbpProjectName.WebSpaAngular Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 11using System ;
2- using Abp . Dependency ;
32using Abp . Web ;
43using Castle . Facilities . Logging ;
54
@@ -9,7 +8,7 @@ public class MvcApplication : AbpWebApplication
98 {
109 protected override void Application_Start ( object sender , EventArgs e )
1110 {
12- IocManager . Instance . IocContainer . AddFacility < LoggingFacility > ( f => f . UseLog4Net ( ) . WithConfig ( "log4net.config" ) ) ;
11+ AbpBootstrapper . IocManager . IocContainer . AddFacility < LoggingFacility > ( f => f . UseLog4Net ( ) . WithConfig ( "log4net.config" ) ) ;
1312 base . Application_Start ( sender , e ) ;
1413 }
1514 }
Original file line number Diff line number Diff line change 11using System ;
2- using Abp . Dependency ;
32using Abp . Web ;
43using Castle . Facilities . Logging ;
54
@@ -9,7 +8,7 @@ public class MvcApplication : AbpWebApplication
98 {
109 protected override void Application_Start ( object sender , EventArgs e )
1110 {
12- IocManager . Instance . IocContainer . AddFacility < LoggingFacility > ( f => f . UseLog4Net ( ) . WithConfig ( "log4net.config" ) ) ;
11+ AbpBootstrapper . IocManager . IocContainer . AddFacility < LoggingFacility > ( f => f . UseLog4Net ( ) . WithConfig ( "log4net.config" ) ) ;
1312 base . Application_Start ( sender , e ) ;
1413 }
1514 }
You can’t perform that action at this time.
0 commit comments