The Free Software Media System - Server Backend & API
switching logging to serilog convention according to pr comments
Felix Ruhnow53beebc77415
diff --git a/MediaBrowser.Api/UserLibrary/ItemsService.cs b/MediaBrowser.Api/UserLibrary/ItemsService.csindex dfd523fde9..ba4e8022c8 100644--- a/MediaBrowser.Api/UserLibrary/ItemsService.cs+++ b/MediaBrowser.Api/UserLibrary/ItemsService.cs@@ -230,7 +230,7 @@ namespace MediaBrowser.Api.UserLibraryif (!user.Policy.EnableAllFolders && !user.Policy.EnabledFolders.Any(i => new Guid(i) == item.Id)){- Logger.LogWarning($"{user.Name} is not permitted to access Library {item.Name}.");+ Logger.LogWarning("{UserName} is not permitted to access Library {ItemName}.", user.Name, item.Name);return new QueryResult<BaseItem>{Items = Array.Empty<BaseItem>(),