44 references to LogWarning
aspire (7)
Backchannel\AuxiliaryBackchannelMonitor.cs (1)
219logger.LogWarning(ex, "Error processing directory changes");
Commands\RunCommand.cs (1)
573logger?.LogWarning(ex, "Failed to stop running instance");
Commands\UpdateCommand.cs (2)
449_logger.LogWarning(ex, "Failed to set executable permission on {FilePath}", filePath); 535_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)
789logger.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 (9)
ApplicationModel\ProjectResource.cs (1)
219logger.LogWarning(ex, "Failed to delete temporary Dockerfile {DockerfilePath}", tempDockerfilePath);
Backchannel\AppHostRpcTarget.cs (1)
181logger.LogWarning(ex, "An error occurred while waiting for the Aspire Dashboard to become healthy.");
Backchannel\AuxiliaryBackchannelService.cs (1)
104logger.LogWarning(ex, "Failed to delete socket file: {SocketPath}", SocketPath);
Dashboard\DashboardEventHandlers.cs (1)
883distributedApplicationLogger.LogWarning(ex, "Failed to delete temporary runtime config file: {Path}", _customRuntimeConfigPath);
Orchestrator\ParameterProcessor.cs (2)
337logger.LogWarning(ex, "Failed to save parameter {ParameterName} to deployment state.", parameter.Name); 374logger.LogWarning(ex, "Failed to save parameter {ParameterName} to deployment state.", parameter.Name);
Pipelines\Internal\FileDeploymentStateManager.cs (1)
77logger.LogWarning(ex, "Failed to save deployment state.");
Pipelines\Internal\UserSecretsDeploymentStateManager.cs (1)
52logger.LogWarning(ex, "Failed to save user secrets.");
Utils\FileSystemService.cs (1)
122_logger?.LogWarning(ex, "Failed to clean up temporary item");
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.");
Aspire.Hosting.JavaScript (1)
JavaScriptHostingExtensions.cs (1)
616resourceLogger.LogWarning(ex, "Failed to generate Aspire Vite HTTPS config wrapper for resource '{ResourceName}'. Falling back to existing Vite config without Aspire modifications. Automatic HTTPS configuration won't be available", resource.Name);
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.", eventName); 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);