Update logging config
This commit is contained in:
+3
-1
@@ -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()");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user