Explorar o código

Merge pull request #14044 from theguymadmax/fix-log-file

Fix startup logger log file order
Niels van Velzen hai 1 mes
pai
achega
dbedb9096b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)