54 references to LogWarning
aspire (10)
Backchannel\AppHostCliBackchannel.cs (1)
335logger.LogWarning(ex, "Failed to reconnect backchannel");
Backchannel\AuxiliaryBackchannelMonitor.cs (1)
225logger.LogWarning(ex, "Error processing directory changes");
Commands\UpdateCommand.cs (2)
474_logger.LogWarning(ex, "Failed to set executable permission on {FilePath}", filePath); 560_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\GuestAppHostProject.cs (2)
532_logger.LogWarning(ex, "Failed to read launchSettings.json"); 850_logger.LogWarning(ex, "Failed to check for updates to package {PackageId}", packageId);
Projects\ProjectUpdater.cs (1)
789logger.LogWarning(ex, "Exception while resolving MSBuild property '{PropertyName}' for project '{ProjectFile}'", propertyName, projectFile.FullName);
Projects\RunningInstanceManager.cs (1)
80_logger.LogWarning(ex, "Failed to stop running instance");
Utils\CliDownloader.cs (1)
97logger.LogWarning(ex, "Failed to clean up temporary directory {TempDir}", tempDir);
Aspire.Dashboard (6)
Components\Pages\ConsoleLogs.razor.cs (1)
228Logger.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);
Model\TelemetryImportService.cs (1)
122_logger.LogWarning(ex, "Failed to deserialize JSON file: {FileName}", fileName);
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 (10)
ApplicationModel\ProjectResource.cs (1)
220logger.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 (3)
413logger.LogWarning(ex, "Failed to delete parameter {ParameterName} from deployment state.", parameterResource.Name); 446logger.LogWarning(ex, "Failed to save parameter {ParameterName} to deployment state.", parameterResource.Name); 582logger.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)
50logger.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)
619resourceLogger.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);
Aspire.Hosting.RemoteHost (5)
AssemblyLoader.cs (1)
39logger.LogWarning(ex, "Failed to load assembly '{AssemblyName}'", name);
CodeGeneration\CodeGeneratorResolver.cs (1)
76_logger.LogWarning(ex, "Failed to instantiate code generator '{TypeName}'", type.Name);
JsonRpcServer.cs (2)
251_logger.LogWarning(ex, "Client {ClientId} I/O error", clientId); 297_logger.LogWarning(ex, "Failed to delete socket file: {SocketPath}", _socketPath);
Language\LanguageSupportResolver.cs (1)
85_logger.LogWarning(ex, "Failed to instantiate language support '{TypeName}'", type.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);