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
commit dbedb9096b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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)