mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-24 02:02:29 -04:00
Merge pull request #14044 from theguymadmax/fix-log-file
Fix startup logger log file order
This commit is contained in:
commit
dbedb9096b
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user