Skip to content

Commit

Permalink
create a branch from main which does not have the additional stderr f…
Browse files Browse the repository at this point in the history
…ixes
  • Loading branch information
scbedd committed Apr 10, 2024
1 parent 65f5db5 commit 0c3e6b9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tools/test-proxy/Azure.Sdk.Tools.TestProxy/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,9 @@ private static void StartServer(StartOptions startOptions)
{
loggingBuilder.ClearProviders();
loggingBuilder.AddConfiguration(hostBuilder.Configuration.GetSection("Logging"));
loggingBuilder.AddConsole(options =>
loggingBuilder.AddSimpleConsole(formatterOptions =>
{
options.LogToStandardErrorThreshold = startOptions.UniversalOutput ? LogLevel.None : LogLevel.Error;
}).AddSimpleConsole(options =>
{
options.TimestampFormat = "[HH:mm:ss] ";
formatterOptions.TimestampFormat = "[HH:mm:ss] ";
});
loggingBuilder.AddDebug();
loggingBuilder.AddEventSourceLogger();
Expand Down

0 comments on commit 0c3e6b9

Please sign in to comment.