mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
Misc
This commit is contained in:
@@ -184,7 +184,8 @@ internal static class Logging {
|
||||
DeleteOldFileOnStartup = true,
|
||||
FileName = Path.Combine("${currentdir}", SharedInfo.LogFile),
|
||||
|
||||
// For GET /Api/NLog/File ASF API usage on Windows (sigh)
|
||||
// Windows OS prevents other apps from reading file when actively holding exclusive (write) lock over it
|
||||
// We require read access for GET /Api/NLog/File ASF API usage, therefore we shouldn't keep the lock all the time
|
||||
KeepFileOpen = !OperatingSystem.IsWindows(),
|
||||
|
||||
Layout = GeneralLayout,
|
||||
|
||||
Reference in New Issue
Block a user