diff --git a/src/Umbraco.Core/PluginManager.cs b/src/Umbraco.Core/PluginManager.cs index 3e00528dc0..24e3afcc27 100644 --- a/src/Umbraco.Core/PluginManager.cs +++ b/src/Umbraco.Core/PluginManager.cs @@ -134,11 +134,14 @@ namespace Umbraco.Core /// internal IEnumerable CreateInstances(IEnumerable types, bool throwException = false) { + //Have removed logging because it doesn't really need to be logged since the time taken is generally 0ms. + //we want to know if it fails ever, not how long it took if it is only 0. + var typesAsArray = types.ToArray(); - using (DisposableTimer.DebugDuration( - String.Format("Starting instantiation of {0} objects of type {1}", typesAsArray.Length, typeof(T).FullName), - String.Format("Completed instantiation of {0} objects of type {1}", typesAsArray.Length, typeof(T).FullName))) - { + //using (DisposableTimer.DebugDuration( + // String.Format("Starting instantiation of {0} objects of type {1}", typesAsArray.Length, typeof(T).FullName), + // String.Format("Completed instantiation of {0} objects of type {1}", typesAsArray.Length, typeof(T).FullName))) + //{ var instances = new List(); foreach (var t in typesAsArray) { @@ -159,7 +162,7 @@ namespace Umbraco.Core } } return instances; - } + //} } ///