Skip to content

Commit

Permalink
Updated cw in HostExtensions.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornnorgaard committed Jun 19, 2024
1 parent 5919771 commit 0349ae1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Ast.Platform/HostExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ public static IHostBuilder UsePlatformLogger(this IHostBuilder builder)
if (string.IsNullOrWhiteSpace(collectorEndpoint))
{
collectorEndpoint = "http://localhost:18889";
Console.WriteLine(
$"Environment variable {key} is not set. Using default OpenTelemetry collector endpoint: {collectorEndpoint}");
Console.WriteLine($"Env var {key} is not set. Using default: {collectorEndpoint}");
}

return builder.ConfigureLogging(loggingBuilder =>
Expand All @@ -39,4 +38,4 @@ public static IHostBuilder UsePlatformLogger(this IHostBuilder builder)
);
});
}
}
}

0 comments on commit 0349ae1

Please sign in to comment.