Bring logger initialization forward
MODIFY
WalletWasabi.Gui/Global.cs
WalletWasabi.Gui/Global.cs
@@ -80,9 +80,10 @@ namespace WalletWasabi.Gui
StoppingCts = new CancellationTokenSource();
DataDir = EnvironmentHelpers.GetDataDir(Path.Combine("WalletWasabi", "Client"));
TorLogsFile = Path.Combine(DataDir, "TorLogs.txt");
-
Directory.CreateDirectory(DataDir);
+ Logger.InitializeDefaults(Path.Combine(DataDir, "Logs.txt"));
+
HostedServices = new HostedServices();
WalletManager = new WalletManager(new WalletDirectories(DataDir));

Bring logger initialization forward