aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels van Velzen <nielsvanvelzen@users.noreply.github.com>2025-05-02 13:43:54 +0200
committerGitHub <noreply@github.com>2025-05-02 13:43:54 +0200
commitdbedb9096b46d5b9aa7e154d2a8f97f820de66a2 (patch)
tree4185c0aa08d49b1c462fb5f57451910344fcd6b4
parent3cc4e8a88a91594f7d292d1354d0e103aa9552aa (diff)
parent3cf213c4fb58784c75e51eaf89d6fe256040a276 (diff)
Merge pull request #14044 from theguymadmax/fix-log-file
Fix startup logger log file order
-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)