Skip to content

Commit 934e28b

Browse files
committed
Fix log4net location.
1 parent d8cc728 commit 934e28b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AbpCompanyName.AbpProjectName.WebMpa/Global.asax.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public class MvcApplication : AbpWebApplication<AbpProjectNameWebModule>
1010
protected override void Application_Start(object sender, EventArgs e)
1111
{
1212
AbpBootstrapper.IocManager.IocContainer.AddFacility<LoggingFacility>(
13-
f => f.UseAbpLog4Net().WithConfig("log4net.config")
13+
f => f.UseAbpLog4Net().WithConfig(Server.MapPath("log4net.config"))
1414
);
1515

1616
base.Application_Start(sender, e);

0 commit comments

Comments
 (0)