aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server
diff options
context:
space:
mode:
authortheguymadmax <theguymadmax@proton.me>2025-05-01 21:20:35 -0400
committertheguymadmax <theguymadmax@proton.me>2025-05-01 21:20:35 -0400
commit3cf213c4fb58784c75e51eaf89d6fe256040a276 (patch)
treeb74f39e121f1d17fbd0a73d5e6694f14c0696df3 /Jellyfin.Server
parentaa24d08d3363cf164ec7d15ac16ac8c04e4e3342 (diff)
Fix startup logger log file order
Diffstat (limited to 'Jellyfin.Server')
-rw-r--r--Jellyfin.Server/ServerSetupApp/SetupServer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server/ServerSetupApp/SetupServer.cs b/Jellyfin.Server/ServerSetupApp/SetupServer.cs
index 3d4810bd7..7ab5defc8 100644
--- a/Jellyfin.Server/ServerSetupApp/SetupServer.cs
+++ b/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)