From 06d9014ebe89519544788834b2ff26f09ac0b351 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Sat, 18 Apr 2020 14:15:20 +0200 Subject: [PATCH] Use botName identifier for new SteamClient logging context --- ArchiSteamFarm/Bot.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArchiSteamFarm/Bot.cs b/ArchiSteamFarm/Bot.cs index 493989887..edf06f4c2 100755 --- a/ArchiSteamFarm/Bot.cs +++ b/ArchiSteamFarm/Bot.cs @@ -221,7 +221,7 @@ namespace ArchiSteamFarm { SteamConfiguration = SteamConfiguration.Create(builder => builder.WithProtocolTypes(ASF.GlobalConfig.SteamProtocols).WithCellID(ASF.GlobalDatabase.CellID).WithServerListProvider(ASF.GlobalDatabase.ServerListProvider).WithHttpClientFactory(ArchiWebHandler.GenerateDisposableHttpClient)); // Initialize - SteamClient = new SteamClient(SteamConfiguration); + SteamClient = new SteamClient(SteamConfiguration, botName); if (Debugging.IsUserDebugging && Directory.Exists(SharedInfo.DebugDirectory)) { string debugListenerPath = Path.Combine(SharedInfo.DebugDirectory, botName);