42 references to LogWarning
aspire (5)
Commands\UpdateCommand.cs (2)
359_logger.LogWarning(ex, "Failed to set executable permission on {FilePath}", filePath); 445_logger.LogWarning(ex, "Failed to clean up directory {Directory}", directory);
DotNet\DotNetSdkInstaller.cs (1)
175logger.LogWarning(ex, "Failed to set executable permission on {ScriptPath}", scriptPath);
Projects\ProjectUpdater.cs (1)
604logger.LogWarning(ex, "Exception while resolving MSBuild property '{PropertyName}' for project '{ProjectFile}'", propertyName, projectFile.FullName);
Utils\CliDownloader.cs (1)
97logger.LogWarning(ex, "Failed to clean up temporary directory {TempDir}", tempDir);
Aspire.Dashboard (5)
Components\Pages\ConsoleLogs.razor.cs (1)
233Logger.LogWarning(ex, "Load timeout while waiting for resource {ResourceName}.", ResourceName);
Model\BrowserStorage\BrowserStorageBase.cs (1)
36Logger.LogWarning(ex, "Error when reading '{Key}' as {ValueType}.", key, typeof(TValue).Name);
Model\BrowserStorage\LocalBrowserStorage.cs (1)
40Logger.LogWarning(ex, "Error when reading '{Key}' as {ValueType}.", key, typeof(TValue).Name);
Telemetry\DashboardTelemetrySender.cs (2)
73_logger.LogWarning(ex, "Failed to send telemetry request {Name}.", context.Name); 157_logger.LogWarning(ex, "Failed to request whether telemetry is supported.");
Aspire.Hosting (8)
ApplicationModel\ProjectResource.cs (1)
181logger.LogWarning(ex, "Failed to delete temporary Dockerfile {DockerfilePath}", tempDockerfilePath);
Backchannel\AppHostRpcTarget.cs (1)
133logger.LogWarning(ex, "An error occurred while waiting for the Aspire Dashboard to become healthy.");
Dashboard\DashboardEventHandlers.cs (1)
877distributedApplicationLogger.LogWarning(ex, "Failed to delete temporary runtime config file: {Path}", _customRuntimeConfigPath);
Orchestrator\ParameterProcessor.cs (3)
242logger.LogWarning(ex, "Failed to load deployment state. Continuing without saved parameter values."); 372logger.LogWarning(ex, "Failed to save parameter values to deployment state."); 401logger.LogWarning(ex, "Failed to save parameter values to deployment state.");
Pipelines\Internal\FileDeploymentStateManager.cs (1)
77logger.LogWarning(ex, "Failed to save deployment state.");
Pipelines\Internal\UserSecretsDeploymentStateManager.cs (1)
51logger.LogWarning(ex, "Failed to save user secrets.");
Aspire.Hosting.Azure (4)
Provisioning\Internal\BaseProvisioningContextProvider.cs (4)
235_logger.LogWarning(ex, "Failed to enumerate available tenants. Falling back to manual input."); 263_logger.LogWarning(ex, "Failed to enumerate available subscriptions. Falling back to manual input."); 296_logger.LogWarning(ex, "Failed to enumerate available resource groups with locations."); 331_logger.LogWarning(ex, "Failed to enumerate available locations. Falling back to manual input.");
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
RetryHandler.cs (1)
37_logger.LogWarning(ex, "Error sending request");
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
Internal\QuicConnectionContext.cs (1)
67_log.LogWarning(ex, "Failed to gracefully shutdown connection.");
Internal\QuicStreamContext.cs (1)
540_log.LogWarning(ex, "Stream failed to gracefully shutdown.");
Microsoft.DotNet.Build.Tasks.Feed (1)
src\ProductionChannelValidator.cs (1)
132_logger.LogWarning(exception, message);
Microsoft.Extensions.AI.Evaluation.Console (7)
Telemetry\DeviceIdHelper.cs (1)
53_logger.LogWarning(ex, "Failed to cache device ID.");
Telemetry\TelemetryConstants.cs (1)
171logger.LogWarning(ex, "Failed to create sentinel file.");
Telemetry\TelemetryHelper.cs (5)
64_logger.LogWarning(ex, $"Failed to initialize {nameof(TelemetryHelper)}."); 89_logger.LogWarning(ex, $"Failed to dispose {nameof(TelemetryHelper)}."); 116_logger.LogWarning(ex, $"Failed to report event '{eventName}' in telemetry."); 138_logger.LogWarning(ex, $"Failed to report exception in telemetry."); 155_logger.LogWarning(ex, "Failed to flush telemetry.");
Microsoft.Maui (2)
Fonts\FileSystemEmbeddedFontLoader.cs (1)
77 _serviceProvider?.CreateLogger<EmbeddedFontLoader>()?.LogWarning(ex, "Unable copy font {Font} to local file system.", font.FontName);
Fonts\FontRegistrar.cs (1)
71 _serviceProvider?.CreateLogger<FontRegistrar>()?.LogWarning(ex, "Unable to load font '{Font}'.", font);
Microsoft.Maui.Controls (5)
NavigationPage\NavigationPage.cs (1)
241 Application.Current?.FindMauiContext()?.CreateLogger<NavigationPage>()?.LogWarning(e, null);
Shell\Shell.cs (2)
1260 Application.Current?.FindMauiContext()?.CreateLogger<Shell>()?.LogWarning(exc, "If you're using hot reload add a route to everything in your shell file"); 1556 Application.Current?.FindMauiContext()?.CreateLogger<Shell>()?.LogWarning(exc, "Failed to Navigate Back");
UriImageSource.cs (2)
75 Application.Current?.FindMauiContext()?.CreateLogger<UriImageSource>()?.LogWarning(ex, "Error getting stream for {Uri}", Uri); 126 Application.Current?.FindMauiContext()?.CreateLogger<UriImageSource>()?.LogWarning(ex, "Error getting stream for {Uri}", Uri);
Microsoft.TemplateEngine.Cli (2)
HostSpecificDataLoader.cs (2)
48_engineEnvironment.Host.Logger.LogWarning( 77_engineEnvironment.Host.Logger.LogWarning(