From 70ddf646bef4852bc1dbb9d0179f6d1063ea2213 Mon Sep 17 00:00:00 2001 From: Shannon Date: Mon, 5 Jan 2015 10:08:36 +1100 Subject: [PATCH] Changed the DefaultUrlProvider's warnings to Debug statements since this can get logged very often when there are unpublished pages and a URL is requested for them which can occur a ton, especially when searching in the back office since a URL is attempted to be created on each search for each result. --- src/Umbraco.Web/Routing/DefaultUrlProvider.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Umbraco.Web/Routing/DefaultUrlProvider.cs b/src/Umbraco.Web/Routing/DefaultUrlProvider.cs index 602a14dabb..41cadbf2f9 100644 --- a/src/Umbraco.Web/Routing/DefaultUrlProvider.cs +++ b/src/Umbraco.Web/Routing/DefaultUrlProvider.cs @@ -40,7 +40,7 @@ namespace Umbraco.Web.Routing if (string.IsNullOrWhiteSpace(route)) { - LogHelper.Warn( + LogHelper.Debug( "Couldn't find any page with nodeId={0}. This is most likely caused by the page not being published.", () => id); return null; @@ -78,7 +78,7 @@ namespace Umbraco.Web.Routing if (string.IsNullOrWhiteSpace(route)) { - LogHelper.Warn( + LogHelper.Debug( "Couldn't find any page with nodeId={0}. This is most likely caused by the page not being published.", () => id); return null;