Update logging config

This commit is contained in:
2015-10-29 09:34:22 -04:00
parent 045ee57d44
commit 9f0c410c65
2 changed files with 8 additions and 3 deletions
+3 -1
View File
@@ -2,7 +2,6 @@
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Reflection;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
@@ -10,6 +9,7 @@ using AutoMapper;
using MileageTraker.Web.Attributes;
using MileageTraker.Web.DAL;
using MileageTraker.Web.Utility;
using NLog;
namespace MileageTraker.Web
{
@@ -43,6 +43,8 @@ namespace MileageTraker.Web
Database.SetInitializer(new MileageTrakerInitializer());
ModelMetadataProviders.Current = new CustomMetadataProvider();
LogManager.GetCurrentClassLogger().Info("Application_Start()");
}
}