diff --git a/Web/Global.asax.cs b/Web/Global.asax.cs index 604e92c..f9712ab 100644 --- a/Web/Global.asax.cs +++ b/Web/Global.asax.cs @@ -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()"); } } diff --git a/Web/NLog.config b/Web/NLog.config index fbab8de..363bc03 100644 --- a/Web/NLog.config +++ b/Web/NLog.config @@ -17,7 +17,8 @@ for information on customizing logging rules and outputs. --> - + + - + + +