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

Fix startup logger log file order
This commit is contained in:
Niels van Velzen
2025-05-02 13:43:54 +02:00
committed by GitHub

View File

@@ -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)