Skip to content

Commit

Permalink
Update BASE/Test/Microsoft.ApplicationInsights.Test/Microsoft.Applica…
Browse files Browse the repository at this point in the history
…tionInsights.Tests/Extensibility/Implementation/Tracing/SelfDiagnostics/SelfDiagnosticsConfigRefresherTest.cs

Co-authored-by: Reiley Yang <[email protected]>
  • Loading branch information
Yun-Ting and reyang authored Apr 20, 2023
1 parent 5343264 commit 6525f04
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,11 @@ public void SelfDiagnosticsConfigRefresher_ReadFromEnviornmentVar()
{

var key = "APPLICATIONINSIGHTS_LOG_DIAGNOSTICS";
var val = string.Empty;
var val = "/home/user/LogFiles/SelfDiagnostics";
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{
val = @"C:\home\LogFiles\SelfDiagnostics";
}
else
{
val = "/home/user/LogFiles/SelfDiagnostics";
}

Environment.SetEnvironmentVariable(key, val);

Expand Down

0 comments on commit 6525f04

Please sign in to comment.