mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 22:20:52 +00:00
Use botName identifier for new SteamClient logging context
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user