140 references to LogWarning
aspire (44)
DotNet\ProcessExecution.cs (4)
338_logger.LogWarning(ex, "Failed to kill {FileName} (pid {Pid}).", _fileName, GetSafePid(process));
356_logger.LogWarning(ex, "Error draining killed {FileName} (pid {Pid}).", _fileName, GetSafePid(process));
458_logger.LogWarning(ex, "Failed to issue graceful shutdown to {FileName} (pid {Pid}); escalating to kill.", _fileName, pid);
611_logger.LogWarning(ex, "{FileName}({ProcessId}) stdout/stderr pump faulted while draining after exit", _fileName, process.Id);
Projects\GuestAppHostProject.cs (5)
940_logger.LogWarning(ex, "Failed to load config for launch profiles from {Directory}", configDir.FullName);
1018_logger.LogWarning(ex, "Failed to read {ConfigPath}", configPath);
1493_logger.LogWarning(ex, "Failed to check for SDK version updates");
1516_logger.LogWarning(ex, "Failed to check for updates to package {PackageId}", packageId);
2310_logger.LogWarning(ex, "Failed to combine {EnvironmentVariableName} bundle {ExistingBundlePath} with the Aspire development certificate", environmentVariableName, existingCertificateBundle);
Aspire.Dashboard (14)
Aspire.Dashboard.Tests (1)
Aspire.Hosting (21)
Lifecycle\TerminalHostOrphanCleanupService.cs (9)
176logger?.LogWarning(ex, "Failed to delete terminal socket '{Path}'.", socketPath);
196logger?.LogWarning(ex, "Failed to delete terminal metadata '{Path}'.", metadataPath);
272logger.LogWarning(
282logger.LogWarning(ex, "Unable to inspect terminal metadata '{Path}'; leaving its artifacts in place.", candidatePath);
384logger.LogWarning(ex, "Failed to sweep orphaned terminal artifacts in '{Directory}'.", trmnlDirectory);
401logger.LogWarning(ex, "Unable to inspect the age of invalid terminal metadata '{Path}'.", metadataPath);
424logger.LogWarning(ex, "Unable to reclaim expired invalid terminal metadata '{Path}'.", metadataPath);
456logger.LogWarning(ex, "Unable to inspect temporary terminal metadata '{Path}'.", temporaryPath);
475logger.LogWarning(ex, "Unable to reclaim stale temporary terminal metadata '{Path}'.", temporaryPath);
Aspire.Hosting.Azure (12)
Aspire.Hosting.Azure.Sandboxes (11)
AzureSandboxContainerDeployment.cs (11)
484context.Logger.LogWarning(
549context.Logger.LogWarning(
1332context.Logger.LogWarning(ex, "Sandbox deployment state and Azure scope outputs were unavailable, so data-plane cleanup could not run before the Azure resource group cleanup.");
1658context.Logger.LogWarning(ex, "Failed to list existing sandbox deployments labeled for resource '{ResourceName}'.", resourceName);
1680context.Logger.LogWarning(ex, "Failed to list existing sandbox disk images labeled for resource '{ResourceName}'.", resourceName);
1728context.Logger.LogWarning(ex, "Failed to list sandboxes while reconciling failed deployment '{DeployId}'.", deployId);
1749context.Logger.LogWarning(ex, "Failed to list disk images while reconciling failed deployment '{DeployId}'.", deployId);
1813context.Logger.LogWarning(
2251context.Logger.LogWarning(ex, "Failed to remove sandbox port {Port} from sandbox '{SandboxId}'.", port, sandboxId);
2264context.Logger.LogWarning(ex, "Failed to delete sandbox '{SandboxId}'.", sandboxId);
2298context.Logger.LogWarning(ex, "Failed to delete sandbox disk image '{DiskImageId}'.", diskImageId);
Aspire.Hosting.Foundry (2)
Aspire.Hosting.JavaScript (1)
Aspire.Hosting.Kubernetes (1)
Aspire.Hosting.Maui (3)
Aspire.Hosting.Radius (1)
Aspire.Hosting.RemoteHost (8)
BlazorHosted.ClientServiceDefaults (1)
BlazorStandalone.ClientServiceDefaults (1)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
Microsoft.Extensions.AI.Evaluation.Console (7)
Microsoft.Maui (2)
Microsoft.Maui.Controls (5)
Microsoft.TemplateEngine.Cli (2)
Microsoft.TemplateEngine.Edge (1)