mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-02 21:24:15 -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)
|
var logFilePath = new DirectoryInfo(_applicationPaths.LogDirectoryPath)
|
||||||
.EnumerateFiles()
|
.EnumerateFiles()
|
||||||
.OrderBy(f => f.CreationTimeUtc)
|
.OrderByDescending(f => f.CreationTimeUtc)
|
||||||
.FirstOrDefault()
|
.FirstOrDefault()
|
||||||
?.FullName;
|
?.FullName;
|
||||||
if (logFilePath is not null)
|
if (logFilePath is not null)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user