Browse Source

Changed log leel of 404 to Warning as it's not necessarily an error.

master
Teknikode 6 years ago
parent
commit
99b0f425ac
  1. 2
      Teknik/Areas/Error/Controllers/ErrorController.cs

2
Teknik/Areas/Error/Controllers/ErrorController.cs

@ -114,7 +114,7 @@ namespace Teknik.Areas.Error.Controllers @@ -114,7 +114,7 @@ namespace Teknik.Areas.Error.Controllers
errorMessage += " for page: " + Request.Url.AbsoluteUri;
}
Logger.WriteEntry(LogLevel.Error, errorMessage, exception);
Logger.WriteEntry(LogLevel.Warning, errorMessage, exception);
ErrorViewModel model = new ErrorViewModel();
model.Exception = exception;

Loading…
Cancel
Save