mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
update logging
This commit is contained in:
parent
b783f317fe
commit
ae1a547837
@ -112,7 +112,7 @@ namespace Emby.Server.Implementations.Logging
|
|||||||
|
|
||||||
public class FileLogger : IDisposable
|
public class FileLogger : IDisposable
|
||||||
{
|
{
|
||||||
private readonly Stream _fileStream;
|
private readonly FileStream _fileStream;
|
||||||
|
|
||||||
private bool _disposed;
|
private bool _disposed;
|
||||||
private readonly CancellationTokenSource _cancellationTokenSource;
|
private readonly CancellationTokenSource _cancellationTokenSource;
|
||||||
@ -146,7 +146,7 @@ namespace Emby.Server.Implementations.Logging
|
|||||||
|
|
||||||
if (any)
|
if (any)
|
||||||
{
|
{
|
||||||
_fileStream.Flush();
|
_fileStream.Flush(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
|
Loading…
x
Reference in New Issue
Block a user