Add a ShowLog method to try and troubleshoot why the logs are not getting cleaned up.

This commit is contained in:
2025-04-02 21:19:42 -04:00
parent 0315575dda
commit f4e5e43351
2 changed files with 64 additions and 2 deletions

View File

@@ -173,6 +173,7 @@ namespace MarketData.Services
Console.WriteLine($"Adding Trace Listener :{currentWorkingDirectory+logFolder+"/"+strLogFile}");
Trace.Listeners.Add(new TextWriterTraceListener(currentWorkingDirectory+logFolder+"/"+strLogFile));
MDTrace.WriteLine($"Trace Listener added.");
Utility.ShowLogs(currentWorkingDirectory + logFolder);
return true;
}