367 references to LogDebug
aspire (208)
Acquisition\InstallationCandidateSources.cs (2)
193logger.LogDebug(ex, "Discovery: failed to enumerate {EntryKind} under '{Root}'.", entryKind, root); 209logger.LogDebug(ex, "Discovery: failed to enumerate {EntryKind} under '{Root}'.", entryKind, root);
Acquisition\InstallSidecarReader.cs (2)
68_logger.LogDebug(error, "Install sidecar file '{SidecarPath}' contains malformed JSON.", sidecarPath); 72_logger.LogDebug(error, "Install sidecar file '{SidecarPath}' could not be read due to a path, permission, or IO error.", sidecarPath);
Acquisition\InstallSourceDetector.cs (1)
77logger.LogDebug(ex, "Could not detect the CLI install source.");
Acquisition\PeerInstallProbe.cs (1)
187_logger.LogDebug(ex, "Peer probe at {BinaryPath} returned invalid JSON; trying the --version fallback.", binaryPath);
Acquisition\WingetFirstRunProbe.cs (4)
71_logger.LogDebug(ex, "Winget first-run probe could not write temp sidecar at {Path}.", tempPath); 87_logger.LogDebug(ex, "Winget first-run probe could not rename temp sidecar to {Path}.", sidecarPath); 100_logger.LogDebug(ex, "Winget first-run probe could not delete temp sidecar at {Path}.", tempPath); 104_logger.LogDebug(ex, "Winget first-run probe could not delete temp sidecar at {Path}.", tempPath);
Agents\AspireSkills\AspireSkillsInstaller.cs (12)
265logger.LogDebug(ex, "Downloaded Aspire skills GitHub release asset {AssetName} is invalid.", asset.Name); 273logger.LogDebug(ex, "Aspire skills GitHub release acquisition timed out for version {Version}.", version); 280logger.LogDebug(ex, "Aspire skills GitHub release acquisition failed for version {Version}.", version); 362logger.LogDebug(ex, "Embedded Aspire skills bundle {AssetName} is invalid.", metadata.AssetName); 630logger.LogDebug(ex, "Failed to enumerate cached Aspire skills bundles for version {Version}.", version); 718logger.LogDebug(ex, "Ignoring invalid cached Aspire skills bundle at {CacheDirectory}.", cacheDirectory); 980logger.LogDebug(ex, "Failed to enumerate Aspire skills cache directories for cleanup."); 1005logger.LogDebug(ex, "Failed to evaluate temporary Aspire skills cache directory {Directory} for cleanup.", directory); 1057logger.LogDebug( 1113logger.LogDebug(ex, "Failed to update Aspire skills cache last-used marker for {Directory}.", directory); 1153logger.LogDebug(ex, "Failed to delete Aspire skills cache directory {Directory}.", directory); 1165logger.LogDebug(ex, "Failed to delete Aspire skills cache file {Path}.", path);
Agents\AspireSkills\GitHubArtifactAttestationVerifier.cs (2)
63logger.LogDebug(ex, "Failed to fetch GitHub artifact attestations for {Repository} digest {Digest}.", repository, digestHex); 85logger.LogDebug(ex, "Failed to deserialize GitHub artifact attestation bundle for {Repository} digest {Digest}.", repository, digestHex);
Agents\ClaudeCode\ClaudeCodeCliRunner.cs (1)
76logger.LogDebug(ex, "Claude Code CLI is not installed or not found in PATH");
Agents\Copilot\CopilotCliRunner.cs (1)
56logger.LogDebug(ex, "GitHub Copilot CLI is not installed or not found in PATH");
Agents\DeprecatedMcpCommandScanner.cs (2)
89_logger.LogDebug(ex, "Failed to parse {AgentName} config at {Path}", location.AgentName, configPath); 94_logger.LogDebug(ex, "Failed to read {AgentName} config at {Path}", location.AgentName, configPath);
Agents\Hooks\TelemetryHookConfigurator.cs (4)
159_logger.LogDebug(ex, "Failed to write Copilot CLI telemetry hook configuration."); 179_logger.LogDebug(ex, "Failed to read Claude settings at {Path}.", settingsPath); 191_logger.LogDebug(ex, "Claude settings at {Path} contained malformed JSON; skipping hook registration.", settingsPath); 278_logger.LogDebug(ex, "Failed to write Claude settings at {Path}.", settingsPath);
Agents\Hooks\TelemetryHookInstaller.cs (2)
87_logger.LogDebug(ex, "Could not read existing telemetry hook script at {Path}; it will be rewritten.", path); 113_logger.LogDebug(ex, "Could not set executable bit on telemetry hook script at {Path}.", path);
Agents\OpenCode\OpenCodeCliRunner.cs (1)
69logger.LogDebug(ex, "OpenCode CLI is not installed or not found in PATH");
Agents\Playwright\PlaywrightCliInstaller.cs (2)
267logger.LogDebug(ex, "Failed to clean up temporary directory: {TempDir}", tempDir); 387logger.LogDebug(ex, "Failed to remove playwright-cli skills from {SkillDir}.", skillDir);
Agents\Playwright\PlaywrightCliRunner.cs (3)
64logger.LogDebug(ex, "playwright-cli is not installed or not found in PATH"); 102logger.LogDebug(ex, "Failed to run playwright-cli install --skills"); 126logger.LogDebug(ex, "Failed to clean up .playwright directory in {WorkingDirectory}", workingDirectory);
Agents\VsCode\VsCodeCliRunner.cs (1)
80logger.LogDebug(ex, "VS Code CLI ({Command}) is not installed or not found in PATH", command);
Backchannel\AppHostAuxiliaryBackchannel.cs (9)
330_logger.LogDebug(ex, "StopAppHostAsync RPC method not available on the remote AppHost. The AppHost may be running an older version."); 362_logger.LogDebug(ex, "GetDashboardUrlsAsync RPC method not available on the remote AppHost. The AppHost may be running an older version."); 391_logger.LogDebug(ex, "WaitForAppHostReadyAsync RPC method not available on the remote AppHost. The AppHost may be running an older version."); 438_logger.LogDebug(ex, "GetResourceSnapshotsAsync RPC method not available on the remote AppHost. The AppHost may be running an older version."); 480_logger.LogDebug(ex, "WatchResourceSnapshotsAsync RPC method not available on the remote AppHost. The AppHost may be running an older version."); 522_logger.LogDebug(ex, "GetResourceLogsAsync RPC method not available on the remote AppHost. The AppHost may be running an older version."); 527_logger.LogDebug(ex, "Error calling GetResourceLogsAsync RPC method. The AppHost may be running an incompatible version."); 834_logger.LogDebug(ex, "GetConsoleLogBatchesAsync RPC method not available on the remote AppHost. Falling back to log-line streaming."); 885_logger.LogDebug(ex, "GetConsoleLogsAsync RPC method not available on the remote AppHost. Falling back to GetResourceLogsAsync.");
Backchannel\AppHostCliBackchannel.cs (1)
106logger.LogDebug(ex, "NotifyAppHostReadyAsync RPC method not available on the remote AppHost. The AppHost may be running an older version.");
Backchannel\AppHostConnectionResolver.cs (1)
170logger.LogDebug(ex, "Failed to connect to socket at {SocketPath}", appHostSocket.SocketPath);
Backchannel\OrphanedAppHostCollector.cs (2)
36logger.LogDebug(ex, "Failed to scan for orphaned AppHosts."); 81logger.LogDebug(ex, "Error while collecting orphaned AppHost at {SocketPath}.", connection.SocketPath);
Backchannel\ResourceSnapshotWatcher.cs (1)
86_logger.LogDebug(exception, "Resource snapshot watch failed after cancellation.");
Backchannel\TrayResourceHealthSubscription.cs (1)
56logger.LogDebug(ex, "Resource health unavailable for AppHost PID {Pid}.", Host.AppHostPid);
Backchannel\TrayWatchStream.cs (3)
124logger.LogDebug(ex, "The tray protocol output pipe closed."); 305logger.LogDebug(ex, "Tray protocol AppHost discovery failed."); 360logger.LogDebug(ex, "Dashboard URL unavailable for AppHost PID {Pid}.", hosts[index].AppHostPid);
Bundles\BundleService.cs (1)
770logger.LogDebug(ex, "Could not remove legacy path {Path}; will retry next run.", legacyPath);
Caching\AppHostInfoDiskCache.cs (3)
171_logger.LogDebug(ex, "Failed to read AppHost info cache for {Project}", projectFile.FullName); 235_logger.LogDebug(ex, "Failed to write AppHost info cache for {Project}", projectFile.FullName); 247logger.LogDebug(ex, "Failed to delete temporary AppHost info cache file {Path}", tempPath);
Caching\DiskCache.cs (7)
64_logger.LogDebug(ex, "Failed to retrieve or read cache entry for key {RawKey}", key); 85_logger.LogDebug(ex, "Failed to create cache directory {CacheDirectory}", _cacheDirectory.FullName); 118_logger.LogDebug(ex, "Failed to write disk cache entry for key {RawKey}", key); 136_logger.LogDebug(ex, "Failed to delete cache file {CacheFile}", file.FullName); 143_logger.LogDebug(ex, "Failed to clear disk cache at {CacheDirectory}", _cacheDirectory.FullName); 252_logger.LogDebug(ex, "Failed to resolve cache file for key hash {KeyHash}", keyHash); 281_logger.LogDebug(ex, "Failed to delete cache file {CacheFile}", file.FullName);
Certificates\CertificateCacheWriter.cs (1)
63logger.LogDebug(ex, "Failed to delete temporary certificate cache file {TemporaryPath}", temporaryPath);
Certificates\CertificateService.cs (1)
230logger.LogDebug(ex, "Failed to export dev certificate as PEM");
Commands\AgentMcpCommand.cs (1)
299_logger.LogDebug(ex, "Failed to aggregate resource MCP tools");
Commands\AgentTelemetryCommand.cs (1)
154_logger.LogDebug(ex, "Failed to process agent telemetry.");
Commands\AppHostLauncher.cs (4)
537logger.LogDebug(ex, "Failed to retrieve dashboard URLs from backchannel connection. Continuing without dashboard URLs."); 562logger.LogDebug(ex, "Failed while waiting for AppHost startup readiness from auxiliary backchannel."); 643logger.LogDebug(ex, "Failed to dispose child CLI process execution after start failure."); 909logger.LogDebug(ex, "Failed to read child CLI log file {ChildLogFile}", childLogFile);
Commands\PipelineCommandBase.cs (1)
425_logger.LogDebug(ex, "Operation was cancelled.");
Commands\PsCommand.cs (5)
256_logger.LogDebug(ex, "Failed while watching AppHost connections for ps --follow."); 302_logger.LogDebug(ex, "Stopping ps --follow because the output stream is no longer writable."); 331_logger.LogDebug(ex, "Stopping ps --follow because the output stream is no longer writable."); 417_logger.LogDebug(ex, "Failed to get AppHost SDK version for {AppHostPath}", info.AppHostPath); 433_logger.LogDebug(ex, "Failed to get dashboard URL for {AppHostPath}", info.AppHostPath);
Commands\ResourceCommand.cs (1)
611command._logger.LogDebug(ex, "Failed to augment resource help with available resource commands.");
Commands\RestoreCommand.cs (1)
205_logger.LogDebug(ex, "Ignoring invalid config while resolving config-only guest AppHost in {Directory}", searchDirectory.FullName);
Commands\RunCommand.cs (6)
691_logger.LogDebug(ex, "AppHost log capture ended while the run command was exiting early."); 726_logger.LogDebug(ex, "AppHost exited before backchannel connected."); 769_logger.LogDebug(ex, "Detached child timed out or failed while awaiting AppHost teardown during early exit."); 1555_logger.LogDebug(ex, "Timed out waiting for AppHost startup cancellation to complete."); 1560_logger.LogDebug(ex, "AppHost run failed after startup cancellation."); 1578_logger.LogDebug(ex, "AppHost run failed while startup cancellation was being drained.");
Commands\Sdk\SdkDumpCommand.cs (2)
264_logger.LogDebug(ex, "Failed to clean up temp directory {TempDir}", tempDir); 343_logger.LogDebug(ex, "Failed to clean up temp directory {TempDir}", tempDir);
Commands\Sdk\SdkExportCommand.cs (2)
170_logger.LogDebug(ex, "Failed to resolve export language {Language}", language); 265_logger.LogDebug(ex, "Failed to clean up API export directory {TempDirectory}", tempDirectoryPath);
Commands\Sdk\SdkGenerateCommand.cs (1)
207_logger.LogDebug(ex, "Failed to clean up temp directory {TempDir}", tempDir);
Commands\StopCommand.cs (2)
273_logger.LogDebug(ex, "Failed to resolve AppHost project file for resource cleanup."); 475_logger.LogDebug(ex, "Failed to inspect AppHost project for persistent resource cleanup compatibility.");
Commands\StopCommand.TrayProtocol.cs (1)
39_logger.LogDebug(ex, "The tray protocol stop request failed.");
Commands\TerminalAttachCommand.cs (2)
164_logger.LogDebug(ex, "Failed to connect to terminal at {Path}", replica.ConsumerUdsPath); 172_logger.LogDebug(ex, "Terminal session connection lost at {Path}", replica.ConsumerUdsPath);
Commands\TerminalTapePlayCommand.cs (1)
221_logger.LogDebug(ex, "Terminal tape connection failed for {ResourceName}, replica {ReplicaIndex}.", canonicalName, replica.ReplicaIndex);
Commands\TrayLifecycleService.cs (1)
127logger.LogDebug(ex, "Failed to invoke the tray {Action} helper.", action);
Commands\UpdateCommand.cs (2)
519_logger.LogDebug(ex, "Migration '{MigrationId}' detection failed", migration.Id); 585_logger.LogDebug(ex, "Migration '{MigrationId}' apply failed", migration.Id);
Configuration\AspireConfigFile.cs (1)
337logger?.LogDebug(ex, "Failed to read launch profiles from {Path}", apphostRunPath);
Documentation\FileBackedDocumentContentCache.cs (6)
208_logger.LogDebug(ex, "Failed to read JSON cache for key: {Key}", key); 248_logger.LogDebug(ex, "Failed to write JSON cache for key: {Key}", key); 285_logger.LogDebug(ex, "Failed to read cache file: {FilePath}", filePath); 302_logger.LogDebug(ex, "Failed to write cache file: {FilePath}", filePath); 320_logger.LogDebug(ex, "Failed to create cache directory: {Directory}", _diskCacheDirectory.FullName); 335_logger.LogDebug(ex, "Failed to delete cache file: {FilePath}", filePath);
DotNet\DotNetCliRunner.cs (4)
547logger.LogDebug(ex, "AppHost process has exited with code {ExitCode}. Unable to connect to backchannel at {SocketPath}", execution.ExitCode, socketPath); 1392logger.LogDebug(ex, "Failed to read or hash NuGet config file at path: {Path}", filePath); 1439logger.LogDebug(ex, "Failed to parse cached package search JSON; performing live search."); 1446logger.LogDebug(ex, "Failed to probe package search disk cache; proceeding without cache.");
Git\GitRepository.cs (2)
60logger.LogDebug(ex, "Git is not installed or not found in PATH"); 122logger.LogDebug(ex, "Git is not installed or not found in PATH");
Interaction\ExtensionInteractionService.cs (2)
463_logger.LogDebug(ex, "Message action capability probe failed; using legacy extension notifications."); 708_logger.LogDebug(displayErrorException, "Failed to display an extension operation error through the extension backchannel.");
Layout\LayoutDiscovery.cs (1)
104_logger.LogDebug(ex, "TryDiscoverAspireHomeLayout: could not resolve Aspire home directory");
Mcp\McpResourceToolRefreshService.cs (1)
124_logger.LogDebug(ex, "Failed to refresh resource MCP tool routing map.");
Migrations\TypeScriptAppHostMigration.cs (4)
225_logger.LogDebug(ex, "Failed to update appHost.path in {ConfigPath} during migration", configPath); 273_logger.LogDebug(ex, "Failed to update include entries in {TsConfigPath} during migration", tsConfigPath); 316_logger.LogDebug(ex, "Failed to update script entries in {PackageJsonPath} during migration", packageJsonPath); 367_logger.LogDebug(ex, "SDK regeneration after migration failed");
Npm\NpmRunner.cs (2)
199logger.LogDebug(ex, "Failed to clean up temporary directory: {TempDir}", tempDir); 297logger.LogDebug(ex, "Failed to run npm {Args}", argsString);
Npm\SigstoreNpmProvenanceChecker.cs (2)
101_logger.LogDebug(ex, "Failed to deserialize Sigstore bundle for {PackageSpecifier}", NpmPackageInfo.FormatPackageSpecifier(packageName, version)); 171_logger.LogDebug(ex, "Failed to fetch attestations for {PackageSpecifier}", NpmPackageInfo.FormatPackageSpecifier(packageName, version));
NuGet\BundleNuGetService.cs (1)
156logger.LogDebug(ex, "Cached package manifest {ManifestPath} is invalid and will be regenerated.", manifestPath);
NuGet\NuGetPackagePrefetcher.cs (2)
54logger.LogDebug(ex, "Non-fatal error while prefetching template packages. This is not critical to the operation of the CLI."); 80logger.LogDebug(ex, "Non-fatal error while prefetching CLI packages. This is not critical to the operation of the CLI.");
OpenCode\OpenCodeCliRunner.cs (1)
62logger.LogDebug(ex, "OpenCode CLI is not installed or not found in PATH");
Packaging\PackageChannel.cs (6)
465logger.LogDebug(ex, "Failed to read package file '{PackageFile}' while resolving polyglot tag.", packageFile); 470logger.LogDebug(ex, "Package file '{PackageFile}' contains invalid data.", packageFile); 475logger.LogDebug(ex, "Failed to parse nuspec in package file '{PackageFile}'.", packageFile); 773logger.LogDebug(ex, "Failed to read package file '{PackageFile}' while resolving dependencies.", packageFile); 778logger.LogDebug(ex, "Package file '{PackageFile}' contains invalid data.", packageFile); 783logger.LogDebug(ex, "Failed to parse nuspec in package file '{PackageFile}'.", packageFile);
Profiling\ProfileCaptureService.cs (2)
365_logger.LogDebug(ex, "Failed to stop profile dashboard process."); 382_logger.LogDebug(ex, "Profile dashboard process did not exit within the disposal timeout.");
Projects\AppHostServerClosureSnapshots.cs (2)
366_logger.LogDebug(ex, "Failed to clean stale AppHost project layout staging directory {Path}", stagingDirectory); 544_logger.LogDebug(ex, "Failed to delete AppHost project layout directory {Path}", path);
Projects\DotNetAppHostProject.cs (4)
2089_logger.LogDebug(ex, "Falling back to dotnet run because launch settings could not be parsed for {Project}.", effectiveAppHostFile.FullName); 2094_logger.LogDebug(ex, "Falling back to dotnet run because launch settings could not be read for {Project}.", effectiveAppHostFile.FullName); 2099_logger.LogDebug(ex, "Falling back to dotnet run because launch settings could not be read for {Project}.", effectiveAppHostFile.FullName); 2596_logger.LogDebug(ex, "Failed to get UserSecretsId from project file");
Projects\DotNetBasedAppHostServerProject.cs (1)
431_logger.LogDebug(ex, "Failed to delete obj folder at {ObjPath}", objPath);
Projects\GuestAppHostProject.cs (1)
2135_logger.LogDebug(ex, "Failed to evaluate CLI/SDK version skew prior to code generation.");
Projects\GuestRuntime.cs (2)
465_logger.LogDebug(ex, "Unable to scan up-to-date check input {Input}; treating the command as out of date.", path); 571_logger.LogDebug(ex, "Unable to write up-to-date stamp {Stamp}.", stampFile.FullName);
Projects\LegacyTypeScriptAppHost.cs (1)
179logger.LogDebug(ex, "Failed to resolve TypeScript AppHost");
Projects\PrebuiltAppHostServer.cs (3)
165_logger.LogDebug(ex, "Unable to determine the Hosting version; using the Dashboard compatibility dispatcher."); 673logger.LogDebug(ex, "Unable to read the integration restore stamp; restoring."); 692logger.LogDebug(ex, "Unable to write the integration restore stamp.");
Projects\ProjectLocator.cs (1)
1381logger.LogDebug(ex, "Proceeding without the workspace config lock at {LockPath}.", lockPath);
Scaffolding\ScaffoldingService.cs (1)
267_logger.LogDebug(ex, "Failed to delete apphost.run.json after reading profiles");
src\Shared\AppHostSocketManager.cs (1)
293logger.LogDebug(ex, "Failed to clean up backchannel socket file: {SocketPath}", SocketPath);
src\Shared\ChildProcess.cs (2)
475_logger.LogDebug(ex, "Waiting for exited process group {ProcessId} to disappear.", _processId); 531_logger.LogDebug(
src\Shared\ProcessSignaler.cs (2)
124logger.LogDebug(ex, "Could not inspect process {Pid}. Treating it as not running.", pid); 176logger.LogDebug(ex, "Could not inspect process {Pid}. Treating it as not running.", pid);
src\Shared\Telemetry\InternalMicrosoftDetector.cs (9)
152_logger.LogDebug(ex, "Internal Microsoft detection failed."); 404_logger.LogDebug(ex, "Microsoft internal probe '{ProbeName}' failed.", probe.Name); 481_logger.LogDebug(ex, "Timed out waiting for cancelled Microsoft internal probes to drain."); 488_logger.LogDebug(ex, "A cancelled Microsoft internal probe failed while draining."); 533_logger.LogDebug(ex, "Failed to read Microsoft internal detector cache from {CacheFilePath}.", _cacheFilePath); 582_logger.LogDebug(ex, "Failed to write Microsoft internal detector cache to {CacheFilePath}.", _cacheFilePath); 593_logger.LogDebug(ex, "Failed to clean up Microsoft internal detector cache temporary file."); 987_logger.LogDebug(ex, "GitHub token membership probe failed."); 1014_logger.LogDebug(ex, "A cancelled GitHub token membership probe failed while draining.");
Telemetry\AspireCliTelemetry.cs (3)
203_logger.LogDebug(ex, "Timed out waiting for internal Microsoft diagnostics to complete."); 210_logger.LogDebug(ex, "Failed to complete internal Microsoft diagnostics."); 329_logger.LogDebug(ex, "Internal Microsoft detection failed.");
Templating\CliTemplateFactory.cs (1)
375_logger.LogDebug(ex, "Unable to set the execute bit on scaffolded build wrapper '{FilePath}'.", filePath);
Tui\TerminalViewerApp.cs (5)
180_logger.LogDebug(ex, "Multi-head RequestPrimary failed; remaining as secondary."); 272_logger.LogDebug(ex, "Embedded CTS teardown failed ({ExceptionType}).", ex.GetType().FullName); 290_logger.LogDebug(ex, "Embedded terminal dispose failed ({ExceptionType}).", ex.GetType().FullName); 563_logger.LogDebug(ex, "Multi-head Take Control failed; remaining as secondary."); 595_logger.LogDebug(ex, "Multi-head SIGWINCH re-broadcast failed.");
Utils\CliPathHelper.cs (2)
207logger?.LogDebug(ex, "Could not normalize path {Path}; skipping it.", path); 381logger?.LogDebug(ex, "Could not resolve symlink target for {Path}; {FallbackDescription}.", path, fallbackDescription);
Utils\CliUpdateNotifier.cs (1)
85logger.LogDebug(ex, "Failed to check for Aspire CLI updates.");
Utils\EnvironmentChecker\AspireVersionCheck.cs (5)
51logger.LogDebug(ex, "Failed to resolve AppHost version."); 143logger.LogDebug(ex, "Failed to check Aspire CLI version."); 249logger.LogDebug(ex, "Failed to find Aspire AppHost for version check."); 322logger.LogDebug(ex, "Failed to check Aspire AppHost version for {AppHostPath}.", appHostFile.FullName); 363logger.LogDebug(ex, "Could not read pinned channel from aspire.config.json in {Directory}.", directory);
Utils\EnvironmentChecker\ContainerRuntimeCheck.cs (1)
87logger.LogDebug(ex, "Error checking container runtime");
Utils\EnvironmentChecker\DcpConnectionChecker.cs (4)
309logger.LogDebug(ex, "Failed to delete DCP doctor session directory '{SessionDirectory}'.", sessionDirectory); 347_logger.LogDebug(ex, "Failed to request DCP shutdown for doctor connection check."); 364_logger.LogDebug(ex, "Failed to stop DCP doctor process."); 376_logger.LogDebug(ex, "Failed to delete DCP doctor session directory '{SessionDirectory}'.", _sessionDirectory);
Utils\EnvironmentChecker\DcpConnectionHealthCheck.cs (1)
105logger.LogDebug(ex, "Error checking DCP connection health.");
Utils\EnvironmentChecker\DeprecatedWorkloadCheck.cs (1)
88logger.LogDebug(ex, "Error checking for aspire workload");
Utils\EnvironmentChecker\DevCertsCheck.cs (1)
52logger.LogDebug(ex, "Error checking dev-certs");
Utils\EnvironmentChecker\DotNetSdkCheck.cs (2)
74logger.LogDebug(ex, "Error checking .NET SDK"); 116logger.LogDebug(ex, "Error detecting AppHost language, skipping .NET SDK check");
Utils\EnvironmentChecker\EnvironmentChecker.cs (1)
116_logger.LogDebug(ex, "Environment check {CheckType} failed with exception", checkType.Name);
Utils\EnvironmentChecker\PendingMigrationsCheck.cs (1)
58_logger.LogDebug(ex, "Migration '{MigrationId}' detection failed", migration.Id);
Utils\EnvironmentChecker\TypeScriptAppHostToolingCheck.cs (1)
266logger.LogDebug(ex, "Could not start Deno version check using '{DenoPath}'.", executablePath);
Utils\ProcessCaptureRunner.cs (5)
61logger.LogDebug(ex, "Could not start process '{FileName}'.", startInfo.FileName); 91logger.LogDebug(ex, "Could not start capturing output for process '{FileName}'.", startInfo.FileName); 190logger.LogDebug(ex, "Could not kill process {Pid}.", TryGetPid(process)); 242logger.LogDebug(ex, "Timed out waiting {Bound}s for process output capture.", bound?.TotalSeconds); 248logger.LogDebug(ex, "Could not capture process output.");
Aspire.Dashboard (31)
Components\Interactions\InteractionsProvider.cs (1)
433Logger.LogDebug(ex, "Unexpected error when closing interaction {InteractionId} dialog reference.", item.InteractionId);
Components\Layout\MainLayout.razor.cs (5)
188Logger.LogDebug(ex, "Dashboard layout initialization stopped because the circuit disconnected."); 192Logger.LogDebug(ex, "Dashboard layout initialization stopped because the layout was disposed."); 293Logger.LogDebug(ex, "Dashboard layout rendering stopped because the circuit disconnected."); 297Logger.LogDebug(ex, "Dashboard layout rendering stopped because the layout was disposed."); 591Logger.LogDebug(ex, "Dashboard keyboard cleanup stopped because the circuit disconnected.");
Components\Layout\TerminalDock.razor.cs (1)
389Logger.LogDebug(ex, "Stopped waiting for dock terminal {TerminalId} to close because the dashboard disconnected.", terminalId);
Components\Pages\ConsoleLogs.razor.cs (1)
757Logger.LogDebug(ex, "Failed to show the no logs message.");
Components\Pages\Resources.razor.cs (4)
419Logger.LogDebug(ex, "Resources page rendering stopped because the circuit disconnected."); 423Logger.LogDebug(ex, "Resources page rendering stopped because the page was disposed."); 450Logger.LogDebug(ex, "Resource graph call '{Identifier}' stopped because the circuit disconnected.", identifier); 454Logger.LogDebug(ex, "Resource graph call '{Identifier}' stopped because the page was disposed.", identifier);
Otlp\Http\OtlpHttpEndpointsBuilder.cs (1)
167logger.LogDebug(ex, "Failed to deserialize OTLP JSON request.");
src\Shared\ChildProcess.cs (2)
475_logger.LogDebug(ex, "Waiting for exited process group {ProcessId} to disappear.", _processId); 531_logger.LogDebug(
src\Shared\ProcessSignaler.cs (2)
124logger.LogDebug(ex, "Could not inspect process {Pid}. Treating it as not running.", pid); 176logger.LogDebug(ex, "Could not inspect process {Pid}. Treating it as not running.", pid);
src\Shared\Telemetry\InternalMicrosoftDetector.cs (9)
152_logger.LogDebug(ex, "Internal Microsoft detection failed."); 404_logger.LogDebug(ex, "Microsoft internal probe '{ProbeName}' failed.", probe.Name); 481_logger.LogDebug(ex, "Timed out waiting for cancelled Microsoft internal probes to drain."); 488_logger.LogDebug(ex, "A cancelled Microsoft internal probe failed while draining."); 533_logger.LogDebug(ex, "Failed to read Microsoft internal detector cache from {CacheFilePath}.", _cacheFilePath); 582_logger.LogDebug(ex, "Failed to write Microsoft internal detector cache to {CacheFilePath}.", _cacheFilePath); 593_logger.LogDebug(ex, "Failed to clean up Microsoft internal detector cache temporary file."); 987_logger.LogDebug(ex, "GitHub token membership probe failed."); 1014_logger.LogDebug(ex, "A cancelled GitHub token membership probe failed while draining.");
Terminal\TerminalWebSocketProxy.cs (5)
90logger.LogDebug(ex, "AppHost terminal {TerminalId} no longer exists.", terminalId); 254logger.LogDebug(ex, "AppHost terminal ended before the viewer handshake ({ConnectionId}).", connectionId); 342logger.LogDebug(ex, "Terminal transport disconnected."); 458logger.LogDebug(ex, "Terminal pump ended during view teardown."); 487logger.LogDebug(ex, "Terminal close handshake failed.");
Aspire.Hosting (33)
ApplicationModel\Hex1bAspireTerminal.cs (1)
181_logger.LogDebug(ex, "Terminal {TerminalId} viewer connection ended.", Id);
ApplicationModel\ResourceAspireTerminal.cs (1)
317_logger.LogDebug(failure, "Connecting the AppHost automation peer to resource terminal {TerminalId} failed; a later call can retry.", Id);
ApplicationModel\ResourceTerminalCatalog.cs (2)
176_logger.LogDebug(ex, "Disconnecting the automation peer for resource terminal {TerminalId} failed.", handle.Id); 190_logger.LogDebug(ex, "Disconnecting a replaced automation peer for resource terminal {TerminalId} failed.", handle.Id);
Backchannel\AuxiliaryBackchannelRpcTarget.cs (4)
531logger.LogDebug( 1371logger.LogDebug(ex, "Failed to compute resource dependencies while collecting secret parameters for redaction."); 1701logger.LogDebug(ex, "Error streaming logs for resource {ResourceName}", name); 1932logger.LogDebug(ex, "Failed to list tools from MCP endpoint {EndpointUri}", endpointUri);
Dashboard\DashboardService.cs (1)
665logger.LogDebug(ex, "Terminal {TerminalId} is not available to attach. The dashboard is likely holding a view of a terminal that has already ended.", selector.TerminalId);
Dcp\ContainerCreator.cs (1)
600_logger.LogDebug(ex, "Failed to apply argument value '{ArgKey}' to '{ResourceName}'. A dependency may have failed to start.", a, modelResource.Name);
Dcp\DcpExecutor.cs (4)
302_logger.LogDebug(ex, "One or more monitoring tasks terminated with an error."); 326_logger.LogDebug(ex, "Application orchestrator could not be stopped programmatically."); 429_logger.LogDebug(ex, "Failed to fetch latest state for {Kind} '{Name}' during DCP watch fallback.", original.Kind, name); 626_logger.LogDebug(ex, "Cancellation during creation of resources.");
Dcp\DcpHost.cs (2)
708_logger.LogDebug(ex, "Error while polling container runtime health for notification"); 732_logger.LogDebug(ex, "Failed to show container runtime notification or poll for health");
Dcp\DcpPipelineBuilder.cs (2)
53logger.LogDebug( 81logger.LogDebug(
Dcp\DcpResourceWatcher.cs (1)
290_logger.LogDebug(ex, "One or more monitoring tasks terminated with an error.");
Lifecycle\TerminalHostFailureDiagnosticService.cs (2)
95logger.LogDebug(ex, "TerminalHostFailureDiagnosticService stopped unexpectedly."); 114logger.LogDebug(ex, "Failed to unhide terminal host '{HostName}' after failure.", host.Name);
Publishing\ContainerRuntimeBase.cs (1)
931_logger.LogDebug(ex, "Failed to check if {Runtime} is available on PATH", RuntimeExecutable);
Publishing\ResourceContainerImageManager.cs (1)
858logger.LogDebug(ex, "Error getting ContainerWorkingDirectory. Using default /app");
src\Shared\AppHostSocketManager.cs (1)
293logger.LogDebug(ex, "Failed to clean up backchannel socket file: {SocketPath}", SocketPath);
src\Shared\MsBuildResponseFile.cs (1)
80logger.LogDebug(ex, "Failed to delete temporary MSBuild response-file directory '{DirectoryPath}'.", directory.FullName);
src\Shared\ProcessSignaler.cs (2)
124logger.LogDebug(ex, "Could not inspect process {Pid}. Treating it as not running.", pid); 176logger.LogDebug(ex, "Could not inspect process {Pid}. Treating it as not running.", pid);
TerminalResourceBuilderExtensions.cs (3)
319logger?.LogDebug(ex, "Failed to chmod terminal host metadata file '{Path}'.", temporaryMetadataPath); 333logger?.LogDebug(ex, "Failed to write terminal host metadata sidecar '{Path}'.", metadataPath); 343logger?.LogDebug(ex, "Failed to delete temporary terminal host metadata file '{Path}'.", temporaryMetadataPath);
Utils\DotnetSdkVersionProvider.cs (2)
119_logger.LogDebug(ex, "Failed to determine the .NET SDK selection context."); 320_logger.LogDebug(
VersionChecking\VersionCheckService.cs (1)
75_logger.LogDebug(ex, "Error checking for latest version.");
Aspire.Hosting.Azure (21)
AzureProvisioningController.cs (9)
1457_logger.LogDebug(ex, "Azure drift check failed."); 2597_logger.LogDebug(ex, "Unable to query live Azure resource state for {ResourceId} because no Azure credential is available.", resourceId); 2605_logger.LogDebug(ex, "Unable to query live Azure resource state for {ResourceId}.", resourceId); 2641_logger.LogDebug(ex, "Unable to parse cached {PropertyName} for Azure resource {ResourceName}.", propertyName, resourceName); 3178_logger.LogDebug(ex, "Unable to parse persisted parameters while preserving Azure resource location overrides."); 3403_logger.LogDebug(ex, "Unable to parse cached outputs for resource {ResourceName} while checking for Azure drift.", resource.Name); 3527_logger.LogDebug(ex, "Unable to parse persisted parameters while checking whether Azure resource {ResourceName} must be deleted for a location change.", resource.Name); 3558_logger.LogDebug(ex, "Unable to verify cached Azure resource state for {ResourceName} because no Azure credential is available.", resource.Name); 3565_logger.LogDebug(ex, "Unable to verify cached Azure resource state for {ResourceName} because the Azure resource probe failed.", resource.Name);
Provisioning\BicepUtilities.cs (1)
156logger.LogDebug(ex, "Unable to compute current checksum for resource {ResourceName}.", resource.Name);
Provisioning\Provisioners\BicepProvisioner.cs (11)
203logger.LogDebug(ex, "Unable to reconcile cached deployment state for {ResourceName} because no Azure credential is available.", resource.Name); 208logger.LogDebug(ex, "Unable to reconcile cached deployment state for {ResourceName} because the Azure deployment probe failed.", resource.Name); 276logger.LogDebug(ex, "Unable to publish Azure deployment operation progress for cached deployment {DeploymentId} on {ResourceName}.", deploymentId, resource.Name); 280logger.LogDebug(ex, "Unable to publish Azure deployment operation progress for cached deployment {DeploymentId} on {ResourceName} because no Azure credential is available.", deploymentId, resource.Name); 295logger.LogDebug(ex, "Unable to continue reconciling cached Azure deployment {DeploymentId} for {ResourceName}.", deploymentId, resource.Name); 300logger.LogDebug(ex, "Unable to continue reconciling cached Azure deployment {DeploymentId} for {ResourceName} because no Azure credential is available.", deploymentId, resource.Name); 484logger.LogDebug(ex, "Unable to parse cached deployment state property {PropertyName} for resource {ResourceName}.", key, resourceName); 878logger.LogDebug(ex, "Unable to adopt active Azure deployment {DeploymentId} for {ResourceName} because the Azure deployment probe failed.", deploymentId, resource.Name); 883logger.LogDebug(ex, "Unable to adopt active Azure deployment {DeploymentId} for {ResourceName} because no Azure credential is available.", deploymentId, resource.Name); 974logger.LogDebug(ex, "Unable to query Azure deployment operations for {DeploymentId}.", deploymentId); 1104logger.LogDebug(ex, "Unable to query supported Azure locations for resource type {ResourceType}.", failureDetails.ResourceType);
Aspire.Hosting.Browsers (10)
BrowserEndpointDiscovery.cs (2)
82_logger.LogDebug(ex, "Unable to read tracked browser endpoint metadata '{MetadataPath}'. Treating it as stale.", metadataPath); 124_logger.LogDebug(ex, "Tracked browser endpoint metadata '{MetadataPath}' points to endpoint '{Endpoint}', but probing /json/version failed.", metadataPath, endpoint);
BrowserHost.cs (2)
239logger.LogDebug(ex, "Unable to delete stale tracked browser endpoint metadata '{DevToolsActivePortFilePath}'.", devToolsActivePortFilePath); 243logger.LogDebug(ex, "Unable to delete stale tracked browser endpoint metadata '{DevToolsActivePortFilePath}'.", devToolsActivePortFilePath);
BrowserLogsConfigurationManager.cs (1)
238logger.LogDebug(ex, "Unable to discover tracked browser profiles for '{Browser}'.", browser);
BrowserLogsRunningSession.cs (1)
306_logger.LogDebug(ex, "Tracked browser completion observer failed for resource '{ResourceName}' and session '{SessionId}'.", _resourceName, _sessionId);
BrowserLogsSessionManager.cs (2)
286_logger.LogDebug(ex, "Failed to stop tracked browser session during disposal."); 296_logger.LogDebug(ex, "Tracked browser session completion observer failed during disposal.");
BrowserPageSession.cs (2)
205_logger.LogDebug(ex, "Failed to close tracked browser target '{TargetId}' for session '{SessionId}'.", _targetId, _sessionId); 433_logger.LogDebug(lastError, "Timed out reconnecting tracked browser page session '{SessionId}'.", _sessionId);
Aspire.Hosting.Browsers.Tests (10)
src\Aspire.Hosting.Browsers\BrowserEndpointDiscovery.cs (2)
82_logger.LogDebug(ex, "Unable to read tracked browser endpoint metadata '{MetadataPath}'. Treating it as stale.", metadataPath); 124_logger.LogDebug(ex, "Tracked browser endpoint metadata '{MetadataPath}' points to endpoint '{Endpoint}', but probing /json/version failed.", metadataPath, endpoint);
src\Aspire.Hosting.Browsers\BrowserHost.cs (2)
239logger.LogDebug(ex, "Unable to delete stale tracked browser endpoint metadata '{DevToolsActivePortFilePath}'.", devToolsActivePortFilePath); 243logger.LogDebug(ex, "Unable to delete stale tracked browser endpoint metadata '{DevToolsActivePortFilePath}'.", devToolsActivePortFilePath);
src\Aspire.Hosting.Browsers\BrowserLogsConfigurationManager.cs (1)
238logger.LogDebug(ex, "Unable to discover tracked browser profiles for '{Browser}'.", browser);
src\Aspire.Hosting.Browsers\BrowserLogsRunningSession.cs (1)
306_logger.LogDebug(ex, "Tracked browser completion observer failed for resource '{ResourceName}' and session '{SessionId}'.", _resourceName, _sessionId);
src\Aspire.Hosting.Browsers\BrowserLogsSessionManager.cs (2)
286_logger.LogDebug(ex, "Failed to stop tracked browser session during disposal."); 296_logger.LogDebug(ex, "Tracked browser session completion observer failed during disposal.");
src\Aspire.Hosting.Browsers\BrowserPageSession.cs (2)
205_logger.LogDebug(ex, "Failed to close tracked browser target '{TargetId}' for session '{SessionId}'.", _targetId, _sessionId); 433_logger.LogDebug(lastError, "Timed out reconnecting tracked browser page session '{SessionId}'.", _sessionId);
Aspire.Hosting.DevTunnels (1)
DevTunnelMonitor.cs (1)
397logger.LogDebug(ex, "Failed to check dev tunnels login status or notify the user.");
Aspire.Hosting.Dotnet (9)
DotnetProjectBuildArtifactManager.cs (7)
220logger.LogDebug(ex, "Failed to enumerate coordinated build projects in '{Path}'.", BuildDirectory); 312logger.LogDebug(ex, "Failed to enumerate coordinated build project state in '{Path}'.", stateDirectory); 363logger.LogDebug(ex, "Failed to enumerate temporary coordinated build project files in '{Path}'.", directory); 382logger.LogDebug(ex, "Failed to inspect temporary coordinated build project '{Path}'.", temporaryPath); 450logger.LogDebug(ex, "Failed to update coordinated build project state for '{Hash}'.", hash); 505logger.LogDebug(ex, message, path); 518logger.LogDebug(ex, "Failed to delete empty coordinated build lease directory '{Path}'.", path);
DotnetProjectBuildCoordinator.cs (1)
1239logger.LogDebug(
src\Shared\MsBuildResponseFile.cs (1)
80logger.LogDebug(ex, "Failed to delete temporary MSBuild response-file directory '{DirectoryPath}'.", directory.FullName);
Aspire.Hosting.Kubernetes (4)
Deployment\HelmDeploymentEngine.cs (1)
789logger.LogDebug(ex, "Failed to parse kubectl output for service {ServiceName}", serviceName);
KubernetesEnvironmentResource.cs (3)
1686logger.LogDebug(ex, "Failed to delete temporary directory '{TempDir}'.", tempDir.FullName); 1943context.Logger.LogDebug(ex, "Could not parse Gateway '{GatewayName}' JSON for field-ownership cleanup.", gatewayName); 2184context.Logger.LogDebug(ex, "Failed to parse Gateway JSON for field ownership transfer.");
Aspire.Hosting.Maui (2)
Lifecycle\MauiBuildQueueEventSubscriber.cs (2)
295logger.LogDebug(ex, "Failed to kill build process."); 597logger.LogDebug(ex, "Failed to override state to Exited for resource '{ResourceName}'.", resource.Name);
Aspire.Hosting.RemoteHost (13)
AssemblyLoader.cs (1)
369logger.LogDebug(ex, "Could not read assembly identity from {Path}", libsPath);
CodeGeneration\CodeGenerationDiagnostic.cs (1)
290logger?.LogDebug(ex, "Failed to capture loaded assembly diagnostics while building code-generation diagnostic.");
IntegrationLoadContext.cs (5)
97_logger.LogDebug(ex, "[IntegrationALC] Failed to load native library {NativeLibraryName} from {Path}", unmanagedDllName, path); 101_logger.LogDebug(ex, "[IntegrationALC] Failed to load native library {NativeLibraryName} from {Path}", unmanagedDllName, path); 105_logger.LogDebug(ex, "[IntegrationALC] Failed to load native library {NativeLibraryName} from {Path}", unmanagedDllName, path); 109_logger.LogDebug(ex, "[IntegrationALC] Failed to load native library {NativeLibraryName} from {Path}", unmanagedDllName, path); 113_logger.LogDebug(ex, "[IntegrationALC] Failed to load native library {NativeLibraryName} from {Path}", unmanagedDllName, path);
JsonRpcServer.cs (2)
267_logger.LogDebug(ex, "Client {ClientId}: {DisconnectReason}", clientId, disconnectReason); 278_logger.LogDebug(ex, "Client {ClientId}: {DisconnectReason}", clientId, disconnectReason);
src\Shared\ChildProcess.cs (2)
475_logger.LogDebug(ex, "Waiting for exited process group {ProcessId} to disappear.", _processId); 531_logger.LogDebug(
src\Shared\ProcessSignaler.cs (2)
124logger.LogDebug(ex, "Could not inspect process {Pid}. Treating it as not running.", pid); 176logger.LogDebug(ex, "Could not inspect process {Pid}. Treating it as not running.", pid);
Aspire.TerminalHost (18)
DcpUpstreamAdapter.cs (4)
272_logger.LogDebug(ex, 331_logger.LogDebug(ex, 433_logger.LogDebug(ex, "DcpUpstreamAdapter: read pump terminated unexpectedly."); 469_logger.LogDebug(ex, "DcpUpstreamAdapter: Disconnected handler threw (ignored).");
Hmp1UdsServerListenerFilter.cs (5)
105_logger.LogDebug(ex, "The HMP1 consumer listener ended during session teardown."); 140_logger.LogDebug(ex, "The HMP1 consumer listener stopped accepting because the session is ending."); 182_logger.LogDebug(ex, "An HMP1 consumer disconnected before it could be attached."); 201_logger.LogDebug(disposeException, "Failed to dispose an HMP1 consumer stream after its session ended."); 254_logger.LogDebug(ex, "Failed to delete the HMP1 consumer socket file '{SocketPath}'.", _socketPath);
TerminalHostApp.cs (1)
238_logger.LogDebug(ex, "Error while disposing replica.");
TerminalHostControlListener.cs (3)
136_logger.LogDebug(ex, "Transient accept error ({SocketError}); retrying.", ex.SocketErrorCode); 141_logger.LogDebug(ex, "Control listener accept failed; stopping."); 239_logger.LogDebug(ex, "Control RPC connection ended with an error.");
TerminalReplica.cs (5)
288_logger.LogDebug(ex, "Replica terminal dispose threw (ignored)."); 549_logger.LogDebug(ex, 580_logger.LogDebug(ex, "Replica recycle loop terminated with an unexpected error."); 626_logger.LogDebug(ex, "Failed to delete stale UDS file '{Path}'.", path); 630_logger.LogDebug(ex, "Failed to delete stale UDS file '{Path}' (access denied).", path);
AzureSearch.ApiService (1)
Program.cs (1)
56logger.LogDebug(e, "Didn't find index.");
Microsoft.AspNetCore.SignalR.Client.Core (1)
src\aspnetcore\src\SignalR\common\Shared\MessageBuffer.cs (1)
305_logger.LogDebug(ex, "Failure while resending messages after a reconnect.");
Microsoft.AspNetCore.SignalR.Core (1)
src\aspnetcore\src\SignalR\common\Shared\MessageBuffer.cs (1)
305_logger.LogDebug(ex, "Failure while resending messages after a reconnect.");
Microsoft.AspNetCore.SpaProxy (2)
SpaProxyLaunchManager.cs (2)
89_logger.LogDebug(exception, "Failed to connect to the SPA Development proxy."); 120_logger.LogDebug(exception, "Failed to connect to the SPA Development proxy.");
Microsoft.TemplateEngine.Edge (1)
Settings\TemplatePackageManager.cs (1)
291_logger.LogDebug(ex, "Failed to load templatecache.json.");
Microsoft.TemplateEngine.Orchestrator.RunnableProjects (1)
BindSymbolEvaluator.cs (1)
95_logger.LogDebug(currentTask.Exception, "The evaluation task has failed: {0}", currentTask.Exception.Message);