Skip to content

Commit

Permalink
Merge branch 'main' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
LanceMcCarthy committed May 10, 2024
2 parents 54c6095 + ccf3f56 commit 49699c3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions DevCraftAspire.ApiService/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@
app.MapDefaultEndpoints();

// For REST service errors
var logFilePath = "_traceoutput.log";
File.SetUnixFileMode(logFilePath, UnixFileMode.UserRead | UnixFileMode.UserWrite);
System.Diagnostics.Trace.Listeners.Add(new System.Diagnostics.TextWriterTraceListener(File.CreateText(logFilePath)));
System.Diagnostics.Trace.AutoFlush = true;
//var logFilePath = "_traceoutput.log";
//File.SetUnixFileMode(logFilePath, UnixFileMode.UserRead | UnixFileMode.UserWrite);
//System.Diagnostics.Trace.Listeners.Add(new System.Diagnostics.TextWriterTraceListener(File.CreateText(logFilePath)));
//System.Diagnostics.Trace.AutoFlush = true;

app.Run();

0 comments on commit 49699c3

Please sign in to comment.