From 603a1c7814c11b1ec51f0c3d6284782c75d83fed Mon Sep 17 00:00:00 2001 From: Warren Buckley Date: Wed, 12 Sep 2018 21:49:59 +0100 Subject: [PATCH] Log property is now Duration as opposed to TimingDuration (A few diff logtypes that store ms all use same prop name of Duration) --- .../src/views/logviewer/search.controller.js | 10 +++++----- src/Umbraco.Web.UI/config/logviewer.searches.config.js | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) 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 +]