Procházet zdrojové kódy

Fix startup logger log file order

theguymadmax před 5 měsíci
rodič
revize
3cf213c4fb
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      Jellyfin.Server/ServerSetupApp/SetupServer.cs

+ 1 - 1
Jellyfin.Server/ServerSetupApp/SetupServer.cs

@@ -113,7 +113,7 @@ public sealed class SetupServer : IDisposable
 
                                             var logFilePath = new DirectoryInfo(_applicationPaths.LogDirectoryPath)
                                                 .EnumerateFiles()
-                                                .OrderBy(f => f.CreationTimeUtc)
+                                                .OrderByDescending(f => f.CreationTimeUtc)
                                                 .FirstOrDefault()
                                                 ?.FullName;
                                             if (logFilePath is not null)