浏览代码

Fix startup logger log file order

theguymadmax 2 月之前
父节点
当前提交
3cf213c4fb
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)