diff --git a/src/OpenTelemetry.AutoInstrumentation.Loader/StartupLogger.cs b/src/OpenTelemetry.AutoInstrumentation.Loader/StartupLogger.cs index b24fa9ab44..9e60d9782d 100644 --- a/src/OpenTelemetry.AutoInstrumentation.Loader/StartupLogger.cs +++ b/src/OpenTelemetry.AutoInstrumentation.Loader/StartupLogger.cs @@ -152,7 +152,7 @@ private static string SetStartupLogFilePath() catch { // We can't get the process info - return Path.Combine(LogDirectory, "dotnet-tracer-loader.log"); + return Path.Combine(LogDirectory, $"dotnet-tracer-loader-{Guid.NewGuid()}.log"); } }