diff --git a/c-sharp/Program.cs b/c-sharp/Program.cs index 7e4cfce959..45b667c8d0 100644 --- a/c-sharp/Program.cs +++ b/c-sharp/Program.cs @@ -15,6 +15,9 @@ public static async Task Main() { Console.WriteLine("Paranext data provider starting up"); Thread.CurrentThread.Name = "Main"; + System.Diagnostics.Trace.Listeners.Add(new System.Diagnostics.ConsoleTraceListener()); + System.Diagnostics.Trace.AutoFlush = true; + System.Diagnostics.Trace.WriteLine("Trace logging enabled"); using PapiClient papi = new(); try