diff --git a/src/Umbraco.Web.UI.Client/src/views/logviewer/search.controller.js b/src/Umbraco.Web.UI.Client/src/views/logviewer/search.controller.js index 4bb6ff9d8a..49566138a7 100644 --- a/src/Umbraco.Web.UI.Client/src/views/logviewer/search.controller.js +++ b/src/Umbraco.Web.UI.Client/src/views/logviewer/search.controller.js @@ -88,7 +88,7 @@ vm.loading = true; - var savedSearches = logViewerResource.getSavedSearches().then(function (data) { + logViewerResource.getSavedSearches().then(function (data) { vm.searches = data; vm.loading = false; }, @@ -104,12 +104,12 @@ "query": "Has(@Exception)" }, { - "name": "Find all logs that have the property 'TimingDuration'", - "query": "Has(TimingDuration)" + "name": "Find all logs that have the property 'Duration'", + "query": "Has(Duration)" }, { - "name": "Find all logs that have the property 'TimingDuration' and the duration is greater than 1000ms", - "query": "Has(TimingDuration) and TimingDuration > 1000" + "name": "Find all logs that have the property 'Duration' and the duration is greater than 1000ms", + "query": "Has(Duration) and Duration > 1000" }, { "name": "Find all logs that are from the namespace 'Umbraco.Core'", diff --git a/src/Umbraco.Web.UI/config/logviewer.searches.config.js b/src/Umbraco.Web.UI/config/logviewer.searches.config.js index d6eff108cd..25ee9b2242 100644 --- a/src/Umbraco.Web.UI/config/logviewer.searches.config.js +++ b/src/Umbraco.Web.UI/config/logviewer.searches.config.js @@ -8,12 +8,12 @@ "query": "Has(@Exception)" }, { - "name": "Find all logs that have the property 'TimingDuration'", - "query": "Has(TimingDuration)" + "name": "Find all logs that have the property 'Duration'", + "query": "Has(Duration)" }, { - "name": "Find all logs that have the property 'TimingDuration' and the duration is greater than 1000ms", - "query": "Has(TimingDuration) and TimingDuration > 1000" + "name": "Find all logs that have the property 'Duration' and the duration is greater than 1000ms", + "query": "Has(Duration) and Duration > 1000" }, { "name": "Find all logs that are from the namespace 'Umbraco.Core'", @@ -39,4 +39,4 @@ "name": "Find all logs that the message that starts with 'end' in it with SQL like", "query": "@Message like 'end%'" } -] \ No newline at end of file +]