Merge pull request #4648 from nyanmisaka/optimize-plugin-logs

Optimize load plugin logs
pull/4522/head^2
Claus Vium 4 years ago committed by GitHub
commit 9afd19b06e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -774,17 +774,10 @@ namespace Emby.Server.Implementations
if (Plugins != null)
{
var pluginBuilder = new StringBuilder();
foreach (var plugin in Plugins)
{
pluginBuilder.Append(plugin.Name)
.Append(' ')
.Append(plugin.Version)
.AppendLine();
Logger.LogInformation("Loaded plugin: {PluginName} {PluginVersion}", plugin.Name, plugin.Version);
}
Logger.LogInformation("Plugins: {Plugins}", pluginBuilder.ToString());
}
_urlPrefixes = GetUrlPrefixes().ToArray();

Loading…
Cancel
Save