620 references to LogDebug
aspire (234)
Agents\ClaudeCode\ClaudeCodeAgentEnvironmentScanner.cs (16)
43_logger.LogDebug("Starting Claude Code environment scan in directory: {WorkingDirectory}", context.WorkingDirectory.FullName); 44_logger.LogDebug("Workspace root: {RepositoryRoot}", context.RepositoryRoot.FullName); 47_logger.LogDebug("Searching for .claude folder..."); 54_logger.LogDebug("Inferred workspace root from .claude folder parent: {WorkspaceRoot}", workspaceRoot.FullName); 57_logger.LogDebug("Checking if Aspire MCP server is already configured in .mcp.json..."); 61_logger.LogDebug("Adding Claude Code applicator for .mcp.json at: {WorkspaceRoot}", workspaceRoot.FullName); 66_logger.LogDebug("Aspire MCP server is already configured"); 72_logger.LogDebug("Registering Playwright MCP configuration callback for Claude Code"); 79_logger.LogDebug("Playwright MCP server is already configured"); 88_logger.LogDebug("No .claude folder found, checking for Claude Code CLI installation..."); 93_logger.LogDebug("Found Claude Code CLI version: {Version}", claudeCodeVersion); 98_logger.LogDebug("Adding Claude Code applicator for .mcp.json at workspace root: {WorkspaceRoot}", context.RepositoryRoot.FullName); 103_logger.LogDebug("Aspire MCP server is already configured"); 109_logger.LogDebug("Registering Playwright MCP configuration callback for Claude Code"); 116_logger.LogDebug("Playwright MCP server is already configured"); 124_logger.LogDebug("Claude Code CLI not found - skipping");
Agents\ClaudeCode\ClaudeCodeCliRunner.cs (6)
19logger.LogDebug("Checking for Claude Code CLI installation"); 24logger.LogDebug("Claude Code CLI is not installed or not found in PATH"); 50logger.LogDebug("Claude Code CLI returned non-zero exit code {ExitCode}: {Error}", process.ExitCode, errorOutput.Trim()); 59logger.LogDebug("Claude Code CLI returned empty version output"); 78logger.LogDebug("Found Claude Code CLI version: {Version}", version); 82logger.LogDebug("Could not parse Claude Code CLI version from output: {Output}", output.Trim());
Agents\CopilotCli\CopilotCliAgentEnvironmentScanner.cs (15)
43_logger.LogDebug("Starting GitHub Copilot CLI environment scan"); 52_logger.LogDebug("Detected VSCode terminal environment. Assuming GitHub Copilot CLI is available to avoid potential hangs from interactive installation prompts."); 55_logger.LogDebug("Checking if Aspire MCP server is already configured in Copilot CLI global config..."); 60_logger.LogDebug("Adding Copilot CLI applicator for global MCP configuration"); 65_logger.LogDebug("Aspire MCP server is already configured in Copilot CLI"); 71_logger.LogDebug("Registering Playwright MCP configuration callback for Copilot CLI"); 78_logger.LogDebug("Playwright MCP server is already configured in Copilot CLI"); 87_logger.LogDebug("Checking for GitHub Copilot CLI installation..."); 92_logger.LogDebug("GitHub Copilot CLI is not installed - skipping"); 97_logger.LogDebug("Found GitHub Copilot CLI version: {Version}", copilotVersion); 100_logger.LogDebug("Checking if Aspire MCP server is already configured in Copilot CLI global config..."); 104_logger.LogDebug("Adding Copilot CLI applicator for global MCP configuration"); 109_logger.LogDebug("Aspire MCP server is already configured in Copilot CLI"); 115_logger.LogDebug("Registering Playwright MCP configuration callback for Copilot CLI"); 122_logger.LogDebug("Playwright MCP server is already configured in Copilot CLI");
Agents\CopilotCli\CopilotCliRunner.cs (6)
19logger.LogDebug("Checking for GitHub Copilot CLI installation"); 24logger.LogDebug("GitHub Copilot CLI is not installed or not found in PATH"); 50logger.LogDebug("GitHub Copilot CLI returned non-zero exit code {ExitCode}: {Error}", process.ExitCode, errorOutput.Trim()); 59logger.LogDebug("GitHub Copilot CLI returned empty version output"); 78logger.LogDebug("Found GitHub Copilot CLI version: {Version}", version); 82logger.LogDebug("Could not parse GitHub Copilot CLI version from output: {Output}", output.Trim());
Agents\OpenCode\OpenCodeAgentEnvironmentScanner.cs (12)
38_logger.LogDebug("Starting OpenCode environment scan in directory: {WorkingDirectory}", context.WorkingDirectory.FullName); 39_logger.LogDebug("Workspace root: {RepositoryRoot}", context.RepositoryRoot.FullName); 48_logger.LogDebug("Found existing opencode.jsonc at: {ConfigFilePath}", configFilePath); 51_logger.LogDebug("Checking if Aspire MCP server is already configured in opencode.jsonc..."); 55_logger.LogDebug("Adding OpenCode applicator to update existing opencode.jsonc"); 60_logger.LogDebug("Aspire MCP server is already configured"); 66_logger.LogDebug("Registering Playwright MCP configuration callback for OpenCode"); 73_logger.LogDebug("Playwright MCP server is already configured"); 82_logger.LogDebug("No opencode.jsonc found, checking for OpenCode CLI installation..."); 87_logger.LogDebug("Found OpenCode CLI version: {Version}", openCodeVersion); 89_logger.LogDebug("Adding OpenCode applicator to create new opencode.jsonc at: {ConfigDirectory}", configDirectory.FullName); 102_logger.LogDebug("OpenCode CLI not found - skipping");
Agents\OpenCode\OpenCodeCliRunner.cs (6)
19logger.LogDebug("Checking for OpenCode CLI installation"); 24logger.LogDebug("OpenCode CLI is not installed or not found in PATH"); 50logger.LogDebug("OpenCode CLI returned non-zero exit code {ExitCode}: {Error}", process.ExitCode, errorOutput.Trim()); 59logger.LogDebug("OpenCode CLI returned empty version output"); 71logger.LogDebug("Found OpenCode CLI version: {Version}", version); 75logger.LogDebug("Could not parse OpenCode CLI version from output: {Output}", output.Trim());
Agents\VsCode\VsCodeAgentEnvironmentScanner.cs (18)
43_logger.LogDebug("Starting VS Code environment scan in directory: {WorkingDirectory}", context.WorkingDirectory.FullName); 44_logger.LogDebug("Workspace root: {RepositoryRoot}", context.RepositoryRoot.FullName); 46_logger.LogDebug("Searching for .vscode folder..."); 51_logger.LogDebug("Found .vscode folder at: {VsCodeFolder}", vsCodeFolder.FullName); 57_logger.LogDebug("Adding VS Code applicator for .vscode folder at: {VsCodeFolder}", vsCodeFolder.FullName); 62_logger.LogDebug("Aspire MCP server is already configured in .vscode/mcp.json"); 68_logger.LogDebug("Registering Playwright MCP configuration callback for .vscode folder"); 75_logger.LogDebug("Playwright MCP server is already configured in .vscode/mcp.json"); 83_logger.LogDebug("No .vscode folder found, but VS Code is available on the system"); 87_logger.LogDebug("Adding VS Code applicator for new .vscode folder at: {VsCodeFolder}", targetVsCodeFolder.FullName); 100_logger.LogDebug("No .vscode folder found and VS Code is not available - skipping VS Code configuration"); 114_logger.LogDebug("Checking for VS Code environment variables..."); 117_logger.LogDebug("Found VS Code environment variables"); 122_logger.LogDebug("Checking for VS Code stable CLI..."); 126_logger.LogDebug("Found VS Code stable version: {Version}", vsCodeVersion); 131_logger.LogDebug("Checking for VS Code Insiders CLI..."); 135_logger.LogDebug("Found VS Code Insiders version: {Version}", vsCodeInsidersVersion); 139_logger.LogDebug("VS Code not found on the system");
Agents\VsCode\VsCodeCliRunner.cs (7)
20logger.LogDebug("Checking for VS Code CLI installation using command: {Command}", command); 25logger.LogDebug("VS Code CLI ({Command}) is not installed or not found in PATH", command); 51logger.LogDebug("VS Code CLI ({Command}) returned non-zero exit code {ExitCode}: {Error}", command, process.ExitCode, errorOutput.Trim()); 59logger.LogDebug("VS Code CLI ({Command}) returned empty version output", command); 68logger.LogDebug("VS Code CLI ({Command}) returned no lines in output", command); 82logger.LogDebug("Found VS Code CLI ({Command}) version: {Version}", command, version); 86logger.LogDebug("Could not parse VS Code CLI ({Command}) version from output: {Output}", command, output.Trim());
Backchannel\AppHostAuxiliaryBackchannel.cs (6)
118_logger?.LogDebug("Connecting to auxiliary backchannel at {SocketPath}", SocketPath); 131_logger?.LogDebug("Connected to auxiliary backchannel at {SocketPath}", SocketPath); 150_logger?.LogDebug("Requesting AppHost information"); 173_logger?.LogDebug("Requesting AppHost to stop"); 182_logger?.LogDebug("Stop request sent to AppHost"); 205_logger?.LogDebug("Requesting Dashboard MCP connection info");
Backchannel\AppHostCliBackchannel.cs (15)
44logger.LogDebug("Requesting stop"); 57logger.LogDebug("Requesting dashboard URL"); 71logger.LogDebug("Requesting AppHost log entries"); 78logger.LogDebug("Received AppHost log entries async enumerable"); 91logger.LogDebug("Requesting resource states"); 98logger.LogDebug("Received resource states async enumerable"); 117logger.LogDebug("Connecting to AppHost backchannel at {SocketPath}", socketPath); 121logger.LogDebug("Connected to AppHost backchannel at {SocketPath}", socketPath); 157logger.LogDebug("Requesting publishing activities."); 164logger.LogDebug("Received publishing activities."); 177logger.LogDebug("Requesting capabilities"); 192logger.LogDebug("Providing prompt responses for prompt ID {PromptId}", promptId); 205logger.LogDebug("Providing prompt responses for prompt ID {PromptId}", promptId); 218logger.LogDebug("Requesting execution."); 224logger.LogDebug("Requested execution.");
Backchannel\AuxiliaryBackchannelMonitor.cs (6)
123logger.LogDebug("Current command is not MCP start command. Auxiliary backchannel monitoring disabled."); 165logger.LogDebug("No command selected within timeout. Auxiliary backchannel monitoring not needed."); 194logger.LogDebug("Socket created: {SocketPath}", newFile); 202logger.LogDebug("Socket deleted: {SocketPath}", removedFile); 235logger.LogDebug("Already connected to AppHost with hash {Hash}", hash); 304logger.LogDebug("Socket not ready yet: {SocketPath}", socketPath);
Backchannel\ExtensionBackchannel.cs (28)
105_logger.LogDebug("Starting backchannel connection to Aspire extension at {Endpoint}", endpoint); 116_logger.LogDebug("Connected to ExtensionBackchannel at {Endpoint}", endpoint); 125_logger.LogDebug("Slow polling for backchannel connection (attempt {ConnectionAttempts}), {SocketException}", connectionAttempts, ex); 169_logger.LogDebug("Connecting to {Name} backchannel at {SocketPath}", Name, endpoint); 179_logger.LogDebug("Connected to {Name} backchannel at {SocketPath}", Name, endpoint); 259_logger.LogDebug("Sent message {Message}", message); 275_logger.LogDebug("Sent success message {Message}", message); 291_logger.LogDebug("Sent subtle message {Message}", message); 307_logger.LogDebug("Sent error message {Error}", error); 323_logger.LogDebug("Sent empty line"); 339_logger.LogDebug("Sent incompatible version error for capability {RequiredCapability} with hosting SDK version {AppHostHostingSdkVersion}", 356_logger.LogDebug("Sent cancellation message"); 372_logger.LogDebug("Sent lines for display"); 388_logger.LogDebug("Sent dashboard URLs for display"); 404_logger.LogDebug("Sent status update: {Status}", status); 425_logger.LogDebug("Prompting for selection with text: {PromptText}, choices: {Choices}", promptText, choicesByFormattedValue.Keys); 455_logger.LogDebug("Prompting for multiple selections with text: {PromptText}, choices: {Choices}", promptText, choicesByFormattedValue.Keys); 480_logger.LogDebug("Prompting for confirmation with text: {PromptText}, default value: {DefaultValue}", promptText, defaultValue); 506_logger.LogDebug("Prompting for string with text: {PromptText}, default value: {DefaultValue}, required: {Required}", promptText, defaultValue, required); 532_logger.LogDebug("Prompting for secret string with text: {PromptText}, required: {Required}", promptText, required); 556_logger.LogDebug("Opening path: {Path}", path); 591_logger.LogDebug("Sent plain text message {Message}", text); 607_logger.LogDebug("Sent debug session message {Message}", message); 629_logger.LogDebug("Requesting capabilities from the extension"); 647_logger.LogDebug("Running .NET project at {ProjectFile} with arguments: {Arguments}", projectFile, string.Join(" ", arguments)); 663_logger.LogDebug("Notifying that app host startup is completed"); 680_logger.LogDebug("Starting extension debugging session in directory {WorkingDirectory} for project file {ProjectFile} with debug={Debug}", 697_logger.LogDebug("Stopping extension debugging session");
Caching\DiskCache.cs (7)
63_logger.LogDebug("Disk cache miss for key {RawKey}", key); 68_logger.LogDebug("Disk cache hit for key {RawKey} (file: {CacheFilePath})", key, cacheFilePath); 123_logger.LogDebug("Stored disk cache entry for key {RawKey} (file: {CacheFilePath})", key, fullPath); 273_logger.LogDebug("Deleted expired cache file: {CacheFile}", file.FullName); 277_logger.LogDebug("Deleted old cache file during global cleanup: {CacheFile}", file.FullName); 281_logger.LogDebug("Deleted invalid cache file: {CacheFile}", file.FullName); 285_logger.LogDebug("Deleted cache file: {CacheFile}", file.FullName);
Commands\McpStartCommand.cs (10)
85_logger.LogDebug("MCP ListTools request received"); 94_logger.LogDebug("Returning {ToolCount} tools: {ToolNames}", tools.Length, string.Join(", ", tools.Select(t => t.Name))); 106_logger.LogDebug("MCP CallTool request received for tool: {ToolName}", toolName); 166_logger.LogDebug("Calling tool {ToolName} on dashboard MCP server", toolName); 171_logger.LogDebug("Invoking CallToolAsync for tool {ToolName} with arguments: {Arguments}", toolName, request.Params?.Arguments); 173_logger.LogDebug("CallToolAsync for tool {ToolName} completed successfully", toolName); 175_logger.LogDebug("Tool {ToolName} completed successfully", toolName); 217_logger.LogDebug("Using explicitly selected AppHost: {AppHostPath}", selectedPath); 231_logger.LogDebug("Using single in-scope AppHost: {AppHostPath}", inScopeConnections[0].AppHostInfo?.AppHostPath ?? "N/A"); 251_logger.LogDebug("No in-scope AppHosts found in scope: {WorkingDirectory}", _executionContext.WorkingDirectory);
Commands\UpdateCommand.cs (4)
287_logger.LogDebug("Saved global channel setting: {Channel}", channel); 340_logger.LogDebug("Creating backup: {BackupPath}", backupPath); 362_logger.LogDebug("Testing new CLI executable and displaying version"); 510_logger.LogDebug("Deleted old backup file: {BackupFile}", backupFile);
DotNet\DotNetCliRunner.cs (12)
592logger.LogDebug("Running dotnet with args: {Args}", string.Join(" ", args)); 623logger.LogDebug("Failed to start dotnet process with args: {Args}", string.Join(" ", args)); 628logger.LogDebug("Started dotnet with PID: {ProcessId}", process.Id); 631logger.LogDebug("Waiting for dotnet process to exit with PID: {ProcessId}", process.Id); 637logger.LogDebug("dotnet process with PID: {ProcessId} has not exited, killing it.", process.Id); 642logger.LogDebug("dotnet process with PID: {ProcessId} has exited with code: {ExitCode}", process.Id, process.ExitCode); 652logger.LogDebug( 662logger.LogDebug( 682logger.LogDebug("Starting backchannel connection to AppHost at {SocketPath}", socketPath); 698logger.LogDebug("Connected to AppHost backchannel at {SocketPath}", socketPath); 904logger.LogDebug("NuGet config file not found at path: {Path}", filePath); 1230logger.LogDebug("Using private SDK installation at {SdkPath}", sdkInstallPath);
DotNet\DotNetSdkInstaller.cs (6)
46logger.LogDebug("Found private SDK installation at {Path}", sdkInstallPath); 212logger.LogDebug("dotnet-install stdout: {Line}", line); 221logger.LogDebug("dotnet-install stderr: {Line}", line); 247logger.LogDebug("Initializing NuGet configuration for private SDK installation"); 258logger.LogDebug("NuGet configuration initialized successfully"); 262logger.LogDebug("NuGet configuration initialization returned exit code {ExitCode}", exitCode);
Git\GitRepository.cs (5)
19logger.LogDebug("Searching for Git repository root from working directory: {WorkingDirectory}", executionContext.WorkingDirectory.FullName); 44logger.LogDebug("Git command returned non-zero exit code {ExitCode}: {Error}", process.ExitCode, errorOutput.Trim()); 53logger.LogDebug("Git command returned empty output"); 60logger.LogDebug("Found Git repository root: {GitRoot}", directoryInfo.FullName); 64logger.LogDebug("Git repository root path does not exist: {GitRoot}", rootPath);
NuGet\NuGetPackageCache.cs (1)
81logger.LogDebug("Getting integrations from NuGet");
NuGet\NuGetPackagePrefetcher.cs (1)
27logger.LogDebug("SDK is not installed. Skipping package prefetching to avoid cache pollution.");
OpenCode\OpenCodeCliRunner.cs (5)
19logger.LogDebug("Checking for OpenCode CLI installation"); 43logger.LogDebug("OpenCode CLI returned non-zero exit code {ExitCode}: {Error}", process.ExitCode, errorOutput.Trim()); 52logger.LogDebug("OpenCode CLI returned empty version output"); 64logger.LogDebug("Found OpenCode CLI version: {Version}", version); 68logger.LogDebug("Could not parse OpenCode CLI version from output: {Output}", output.Trim());
Projects\FallbackProjectParser.cs (1)
41_logger.LogDebug("Parsing project file '{ProjectFile}' using fallback parser", projectFile.FullName);
Projects\ProjectLocator.cs (28)
43logger.LogDebug("Searching for project files in {SearchDirectory}", searchDirectory.FullName); 54logger.LogDebug("Found {ProjectFileCount} project files in {SearchDirectory}", projectFiles.Length, searchDirectory.FullName); 64logger.LogDebug("Checking project file {ProjectFile}", projectFile.FullName); 69logger.LogDebug("Found AppHost project file {ProjectFile} in {SearchDirectory}", projectFile.FullName, searchDirectory.FullName); 90logger.LogDebug("Searching for single-file apphosts in {SearchDirectory}", searchDirectory.FullName); 92logger.LogDebug("Found {CandidateFileCount} single-file apphost candidates in {SearchDirectory}", candidateAppHostFiles.Length, searchDirectory.FullName); 96logger.LogDebug("Checking single-file apphost candidate {CandidateFile}", candidateFile.FullName); 100logger.LogDebug("Found single-file apphost candidate {CandidateFile} in {SearchDirectory}", candidateFile.FullName, searchDirectory.FullName); 212logger.LogDebug("Finding project file in {CurrentDirectory}", executionContext.WorkingDirectory); 219logger.LogDebug("Provided path {Path} is a directory, searching for project files recursively", projectFile.FullName); 235logger.LogDebug("Found {ProjectFileCount} project files in {Directory}", allProjectFiles.Length, directory.FullName); 249logger.LogDebug("Checking project file {ProjectFile}", candidateProject.FullName); 254logger.LogDebug("Found AppHost project file {ProjectFile}", candidateProject.FullName); 268logger.LogDebug("Found {CandidateFileCount} single-file apphost candidates", appHostFiles.Length); 272logger.LogDebug("Checking single-file apphost candidate {CandidateFile}", candidateFile.FullName); 276logger.LogDebug("Found valid single-file apphost {AppHostFile}", candidateFile.FullName); 302logger.LogDebug("Found single AppHost project file {ProjectFile} in directory {Directory}", appHostProjects[0].FullName, directory.FullName); 309logger.LogDebug("Multiple AppHost project files found in directory {Directory}, prompting user to select", directory.FullName); 319logger.LogDebug("Multiple AppHost project files found in directory {Directory}, selecting none", directory.FullName); 344logger.LogDebug("Using single-file apphost {ProjectFile}", projectFile.FullName); 360logger.LogDebug("Using project file {ProjectFile}", projectFile.FullName); 378logger.LogDebug("No project file specified, searching for *.csproj files in {CurrentDirectory}", executionContext.WorkingDirectory); 382logger.LogDebug("Found {ProjectFileCount} project files.", results.BuildableAppHost.Count); 428logger.LogDebug("Creating settings file at {SettingsFilePath}", settingsFile.FullName); 447logger.LogDebug("Searching for executable project files in {SearchDirectory}", searchDirectory); 457logger.LogDebug("Found {ProjectFileCount} project files in {SearchDirectory}", projectFiles.Length, searchDirectory); 467logger.LogDebug("Checking project file {ProjectFile} for OutputType", projectFile.FullName); 486logger.LogDebug("Found executable project file {ProjectFile} with OutputType {OutputType}", projectFile.FullName, outputType);
Projects\ProjectUpdater.cs (2)
30logger.LogDebug("Fetching '{AppHostPath}' items and properties.", projectFile.FullName); 252logger.LogDebug("Analyzing App Host SDK for: {AppHostFile}", context.AppHostProjectFile.FullName);
Projects\SolutionLocator.cs (3)
19logger.LogDebug("Searching for solution files starting from {StartDirectory}", startDirectory.FullName); 25logger.LogDebug("No solution files found in {Directory} or subdirectories", startDirectory.FullName); 29logger.LogDebug("Found {Count} solution file(s) in {Directory}", solutionFiles.Count, startDirectory.FullName);
src\Shared\PackageUpdateHelpers.cs (5)
78logger.LogDebug( 91logger.LogDebug("Current version {CurrentVersion} is prerelease and older than newest stable version {NewestStableVersion}.", currentVersion, newestStable); 98logger.LogDebug("Current version {CurrentVersion} is prerelease and older than newest prerelease version {NewestPrereleaseVersion}.", currentVersion, newestPrerelease); 107logger.LogDebug("Current version {CurrentVersion} is stable and older than newest stable version {NewestStableVersion}.", currentVersion, newestStable); 112logger.LogDebug("No newer version for the current version {CurrentVersion}.", currentVersion);
Utils\CliDownloader.cs (2)
68logger.LogDebug("Downloading archive from {Url} to {Path}", archiveUrl, archivePath); 72logger.LogDebug("Downloading checksum from {Url} to {Path}", checksumUrl, checksumPath);
Utils\CliUpdateNotifier.cs (1)
45logger.LogDebug("Unable to determine current CLI version for update check.");
Aspire.Cli.Tests (3)
Interaction\SpectreConsoleLoggerProviderTests.cs (3)
111logger.LogDebug("Test debug message"); 154logger.LogDebug("Getting integrations from NuGet"); 194logger.LogDebug("Test debug message");
Aspire.Dashboard (57)
Components\Controls\Chart\ChartContainer.razor.cs (1)
202Logger.LogDebug(
Components\Controls\LogViewer.razor.cs (3)
79Logger.LogDebug("Log entries changed."); 108Logger.LogDebug("Initializing log viewer."); 138Logger.LogDebug("Disposing log viewer.");
Components\Interactions\InteractionsProvider.cs (1)
96Logger.LogDebug("InteractionProvider is disabled because the DashboardClient is not enabled.");
Components\Pages\ConsoleLogs.razor.cs (27)
57s._logger.LogDebug("Canceling subscription {SubscriptionId} to {ResourceName}.", s.SubscriptionId, s.Resource.Name); 65_logger.LogDebug("Canceling subscription for resource {ResourceName}.", Resource.Name); 225Logger.LogDebug("Loading task completed."); 229Logger.LogDebug("Load task canceled."); 246Logger.LogDebug("Received initial resource snapshot with {ResourceCount} resources.", snapshot.Length); 266Logger.LogDebug("All resources selected."); 305Logger.LogDebug("Selected console resource from name {ResourceName}.", ResourceName); 355Logger.LogDebug("Setting status to '{StatusName}'.", statusName); 361Logger.LogDebug("Initializing console logs view model."); 378Logger.LogDebug("Switching to or from 'All' mode"); 383Logger.LogDebug("Switching to different single resource: {ResourceName}", selectedResourceName); 389Logger.LogDebug("Subscription change needed. IsAllSelected: {IsAllSelected}, SelectedResource: {SelectedResource}", isAllSelected, selectedResourceName); 396Logger.LogDebug("Creating new log entries collection."); 418Logger.LogDebug("Unexpected state. Unknown resource '{ResourceName}' selected.", selectedResourceName); 604Logger.LogDebug("Subscribing to {ResourceCount} resources for 'All' view.", availableResources.Count); 608Logger.LogDebug("No resources available to subscribe to for 'All' view - will show empty logs."); 623Logger.LogDebug("Successfully created {SubscriptionCount} subscriptions for 'All' view.", _consoleLogsSubscriptions.Count); 632Logger.LogDebug("Already subscribed to resource {ResourceName}.", resourceName); 637Logger.LogDebug("Creating new subscription {SubscriptionId} for resource {ResourceName}.", subscription.SubscriptionId, resourceName); 643Logger.LogDebug("Started log subscription task for resource {ResourceName}.", resourceName); 750Logger.LogDebug("Starting log subscription {SubscriptionId}.", subscription.SubscriptionId); 755Logger.LogDebug("Subscribing to console logs with subscription {SubscriptionId} to resource {ResourceName}.", subscription.SubscriptionId, subscription.Resource.Name); 777Logger.LogDebug("Adding {PauseIntervalsCount} pause intervals on initial logs load.", pauseIntervals.Length); 833Logger.LogDebug("Subscription {SubscriptionId} finished watching logs for resource {ResourceName}. Cancel duration: {Duration}", subscription.SubscriptionId, subscription.Resource.Name, subscription.GetCancelElapsedTime()); 974Logger.LogDebug("Console logs paused new value: {IsPausedNewValue}", isPaused); 987Logger.LogDebug("Inserting new pause log entry for {Resource} starting at {StartTimestamp}.", subscription.Resource.Name, timestamp); 1001Logger.LogDebug("Updating pause log entry for {Resource} starting at {StartTimestamp} with end of {EndTimestamp}.", subscription.Resource.Name, pause.StartTime, timestamp);
Components\Pages\Resources.razor.cs (3)
586Logger.LogDebug("Can't navigate to {ResourceName} from URL. Resource not found.", ResourceName); 656Logger.LogDebug("Showing details for resource {ResourceName}.", resource.Name); 705Logger.LogDebug("Clearing selected resource.");
Configuration\PostConfigureDashboardOptions.cs (1)
27_logger.LogDebug($"PostConfigure {nameof(DashboardOptions)} with name '{name}'.");
Configuration\ValidateDashboardOptions.cs (1)
25_logger.LogDebug($"Validating {nameof(DashboardOptions)}.");
Mcp\AspireResourceMcpTools.cs (3)
38_logger.LogDebug("MCP tool list_resources called"); 81_logger.LogDebug("MCP tool list_console_logs called with resource '{ResourceName}'.", resourceName); 145_logger.LogDebug("MCP tool execute_resource_command called with resource '{ResourceName}' and command '{CommandName}'.", resourceName, commandName);
Mcp\AspireTelemetryMcpTools.cs (3)
47_logger.LogDebug("MCP tool list_structured_logs called with resource '{ResourceName}'.", resourceName); 99_logger.LogDebug("MCP tool list_traces called with resource '{ResourceName}'.", resourceName); 150_logger.LogDebug("MCP tool list_trace_structured_logs called with trace '{TraceId}'.", traceId);
Model\BrowserTimeProvider.cs (1)
36_logger.LogDebug("Browser time zone set to '{TimeZone}' with UTC offset {UtcOffset}.", timeZoneInfo.Id, timeZoneInfo.BaseUtcOffset);
Model\Otlp\ResourcesSelectHelpers.cs (1)
52logger.LogDebug(
Model\ValidateTokenMiddleware.cs (1)
33_logger.LogDebug($"Request to validate token URL but auth mode isn't set to {FrontendAuthMode.BrowserToken}.");
Otlp\Http\OtlpHttpEndpointsBuilder.cs (1)
107logger.LogDebug("OTLP HTTP request with unsupported content type '{ContentType}' was rejected. Only '{SupportedContentType}' is supported.", httpContext.Request.ContentType, ProtobufContentType);
Otlp\Model\OtlpHelpers.cs (2)
232context.Logger.LogDebug("Duplicate attribute {Name} with different value. Last value wins.", attribute.Key); 309context.Logger.LogDebug("Duplicate attribute {Name} with different value. Last value wins.", attribute.Key);
Otlp\OtlpLogsService.cs (1)
28_logger.LogDebug("Processed logs export. Success count: {SuccessCount}, failure count: {FailureCount}", addContext.SuccessCount, addContext.FailureCount);
Otlp\OtlpMetricsService.cs (1)
28_logger.LogDebug("Processed metrics export. Success count: {SuccessCount}, failure count: {FailureCount}", addContext.SuccessCount, addContext.FailureCount);
Otlp\OtlpTraceService.cs (1)
28_logger.LogDebug("Processed trace export. Success count: {SuccessCount}, failure count: {FailureCount}", addContext.SuccessCount, addContext.FailureCount);
ServiceClient\DashboardClient.cs (2)
96_logger.LogDebug("{ConfigKey} is not specified. Dashboard client services are unavailable.", DashboardConfigNames.ResourceServiceUrlName.ConfigKey); 103_logger.LogDebug("Dashboard configured to connect to: {Address}", address);
ShortcutManager.cs (1)
28_logger.LogDebug($"Received shortcut of type {shortcut}");
Telemetry\DashboardTelemetryService.cs (2)
68_logger.LogDebug("Initializing telemetry service."); 70_logger.LogDebug("Initialized telemetry service. Telemetry sender state: {TelemetrySenderState}", _telemetrySender.State);
Aspire.Hosting (122)
ApplicationModel\Docker\ContainerFilesExtensions.cs (1)
109logger?.LogDebug("Adding COPY --from={SourceImage} {SourcePath} {DestinationPath}",
ApplicationModel\ProjectResource.cs (11)
148logger.LogDebug("Tagging image {OriginalImageName} as {TempImageName}", originalImageName, tempImageName); 178logger.LogDebug("Generated temporary Dockerfile at {DockerfilePath}", tempDockerfilePath); 202logger.LogDebug("Successfully built final image {ImageName} with container files", originalImageName); 215logger.LogDebug("Deleted temporary Dockerfile {DockerfilePath}", tempDockerfilePath); 226logger.LogDebug("Failed build - temporary Dockerfile left at {DockerfilePath} for debugging", tempDockerfilePath); 230logger.LogDebug("Removing temporary image {TempImageName}", tempImageName); 250OnErrorData = error => logger.LogDebug("dotnet msbuild (stderr): {Error}", error), 254logger.LogDebug("Getting ContainerWorkingDirectory for project {ProjectPath}", projectPath); 263logger.LogDebug("Failed to get ContainerWorkingDirectory from dotnet msbuild for project {ProjectPath}. Exit code: {ExitCode}. Using default /app", 273logger.LogDebug("dotnet msbuild returned empty ContainerWorkingDirectory for project {ProjectPath}. Using default /app", projectPath); 277logger.LogDebug("Resolved ContainerWorkingDirectory for project {ProjectPath}: {WorkingDir}", projectPath, workingDir);
ApplicationModel\ResourceCommandService.cs (2)
146logger.LogDebug("Command '{CommandName}' was canceled.", commandName); 157logger.LogDebug("Command '{CommandName}' was canceled.", commandName);
ApplicationModel\ResourceNotificationService.cs (9)
125_logger.LogDebug("Waiting for resource '{ResourceName}' to enter one of the target state: {TargetStates}", resourceName, string.Join(", ", targetStates)); 136_logger.LogDebug("Finished waiting for resource '{ResourceName}'. Resource state is '{State}'.", resourceName, stateText); 221_logger.LogDebug("Waiting for resource '{ResourceName}' to enter the '{State}' state.", resourceName, HealthStatus.Healthy); 231_logger.LogDebug("Waiting for resource ready to execute for '{ResourceName}'.", resourceName); 237_logger.LogDebug("Finished waiting for resource '{ResourceName}'.", resourceName); 440_logger.LogDebug("Waiting for resource '{ResourceName}' to match predicate.", resourceName); 442_logger.LogDebug("Finished waiting for resource '{ResourceName}'.", resourceName); 627_logger.LogDebug("Resource {ResourceName}/{ResourceId} changed state: {PreviousState} -> {NewState}", resource.Name, resourceId, previousStateText, newStateText); 632_logger.LogDebug("Resource {ResourceName}/{ResourceId} changed state: {NewState}", resource.Name, resourceId, newStateText);
Backchannel\AppHostRpcTarget.cs (2)
51logger.LogDebug("Log entries stream cancelled due to AppHost shutdown before channel was ready"); 86logger.LogDebug("Publishing activities stream cancelled due to AppHost shutdown");
Backchannel\AuxiliaryBackchannelRpcTarget.cs (1)
85logger.LogDebug("Dashboard resource not found in application model.");
Backchannel\AuxiliaryBackchannelService.cs (6)
40logger.LogDebug("Starting auxiliary backchannel service on socket path: {SocketPath}", SocketPath); 61logger.LogDebug("Auxiliary backchannel listening on {SocketPath}", SocketPath); 86logger.LogDebug("Auxiliary backchannel service was cancelled: {Message}", ex.Message); 114logger.LogDebug("Client connected to auxiliary backchannel"); 135logger.LogDebug("Client disconnected from auxiliary backchannel"); 139logger.LogDebug("Client connection handler was cancelled");
Backchannel\BackchannelService.cs (3)
38logger.LogDebug("Backchannel socket path was not specified."); 42logger.LogDebug("Listening for backchannel connection on socket path: {SocketPath}", unixSocketPath); 75logger.LogDebug("Backchannel service was cancelled: {Message}", ex.Message);
Dashboard\DashboardEventHandlers.cs (2)
785defaultDashboardLogger.LogDebug("Failed to parse dashboard log line as JSON: {LogLine}", logLine.Content); 812defaultDashboardLogger.LogDebug("Stopped reading dashboard logs.");
Dashboard\DashboardServiceData.cs (1)
76logger.LogDebug("Updating resource snapshot for {Name}/{DisplayName}: {State}", snapshot.Name, snapshot.DisplayName, snapshot.State);
Dashboard\DashboardServiceHost.cs (1)
66_logger.LogDebug("Dashboard is not enabled so skipping hosting the resource service.");
Dcp\DcpDependencyCheck.cs (2)
250logger.LogDebug("The error from the container runtime check was: {Error}", error); 269logger.LogDebug("The error from the container runtime check was: {Error}", error);
Dcp\DcpExecutor.cs (18)
215_logger.LogDebug("Cancellation received during application startup."); 389_logger.LogDebug("Watching over DCP {ResourceType} resources.", typeof(T).Name); 410_logger.LogDebug("Cancellation received while watching {ResourceType} resources.", typeof(T).Name); 418_logger.LogDebug("Stopped watching {ResourceType} resources.", typeof(T).Name); 656_logger.LogDebug("Starting log streaming for {ResourceName}.", resource.Metadata.Name); 673_logger.LogDebug("Log streaming for {ResourceName} was cancelled.", resource.Metadata.Name); 2312_logger.LogDebug("Stopping resource '{ResourceName}'...", resourceReference.DcpResourceName); 2330_logger.LogDebug("Container '{ResourceName}' was stopped.", resourceReference.DcpResourceName); 2335_logger.LogDebug("Container '{ResourceName}' is still running; trying again to stop it...", resourceReference.DcpResourceName); 2345_logger.LogDebug("Executable '{ResourceName}' was stopped.", resourceReference.DcpResourceName); 2350_logger.LogDebug("Executable '{ResourceName}' is still running; trying again to stop it...", resourceReference.DcpResourceName); 2393_logger.LogDebug("Starting {ResourceType} '{ResourceName}'.", resourceType, appResource.DcpResourceName); 2439_logger.LogDebug("Ensuring '{ResourceName}' is deleted.", resourceName); 2453_logger.LogDebug("Delete request for '{ResourceName}' successfully completed. Resource to delete has UID '{Uid}'.", resourceName, uid); 2457_logger.LogDebug("Delete request for '{ResourceName}' returned NotFound.", resourceName); 2470_logger.LogDebug("Polling DCP to check if '{ResourceName}' is deleted...", resourceName); 2472_logger.LogDebug("Get request for '{ResourceName}' returned resource with UID '{Uid}'.", resourceName, uid); 2478_logger.LogDebug("Get request for '{ResourceName}' returned NotFound.", resourceName);
Dcp\DcpPipelineBuilder.cs (1)
25logger.LogDebug("Retrying check for deleted resource. Attempt: {Attempt}. Error message: {ErrorMessage}", retry.AttemptNumber, retry.Outcome.Exception?.Message);
Dcp\KubernetesService.cs (2)
544logger.LogDebug( 598logger.LogDebug(
DeveloperCertificateService.cs (2)
63logger.LogDebug("Container trust for developer certificates is {Status}.", containerTrustAvailable ? "available" : "not available"); 70logger.LogDebug("Developer certificate HTTPS/TLS termination support: {Available}", supportsTlsTermination);
Exec\ExecResourceManager.cs (4)
174_logger.LogDebug("Resource '{ResourceName}' has been successfully built and added to the model resources.", execResource.Name); 223_logger.LogDebug("Exec resource '{ResourceName}' will wait until project '{Project}' starts up.", execResourceName, project.Name); 227_logger.LogDebug("Exec resource '{ResourceName}' will run command '{Command}' with {ArgsCount} args '{Args}'.", execResourceName, exe, args?.Length ?? 0, string.Join(' ', args ?? [])); 258_logger.LogDebug("Exec container resource '{ResourceName}' will run command '{Command}' with {ArgsCount} args '{Args}'.", execResourceName, exe, args?.Length ?? 0, string.Join(' ', args ?? []));
Health\ResourceHealthCheckService.cs (9)
115logger.LogDebug("Resource '{ResourceName}' has no health checks to monitor.", resource.Name); 122logger.LogDebug("Resource '{ResourceName}' health checks to monitor: {HeathCheckKeys}", resource.Name, string.Join(", ", registrationKeysToCheck)); 245logger.LogDebug("Resource '{ResourceName}' is ready.", resource.Name); 252logger.LogDebug("Publishing ResourceReadyEvent for '{ResourceName}'.", resource.Name); 257logger.LogDebug("Waiting for ResourceReadyEvent for '{ResourceName}'.", resource.Name); 262logger.LogDebug("ResourceReadyEvent for '{ResourceName}' completed.", resource.Name); 264logger.LogDebug("Publishing the result of ResourceReadyEvent for '{ResourceName}'.", resource.Name); 324_logger.LogDebug("Starting health monitoring for resource '{ResourceName}'.", _resourceName); 334_logger.LogDebug("Stopping health monitoring for resource '{ResourceName}'.", _resourceName);
InteractionService.cs (1)
322_logger.LogDebug("No interaction found with ID {InteractionId}.", interactionId);
Orchestrator\ParameterProcessor.cs (1)
57logger.LogDebug("All unresolved parameters have been handled successfully.");
Pipelines\Internal\FileDeploymentStateManager.cs (1)
73logger.LogDebug("Deployment state saved to {Path}", deploymentStatePath);
Publishing\ContainerRuntimeBase.cs (9)
102_logger.LogDebug("{RuntimeName} (stdout): {Output}", RuntimeExecutable, output); 106_logger.LogDebug("{RuntimeName} (stderr): {Error}", RuntimeExecutable, error); 112_logger.LogDebug("Running {RuntimeName} with arguments: {Arguments}", RuntimeExecutable, arguments); 113_logger.LogDebug("Password length being passed to stdin: {PasswordLength}", password?.Length ?? 0); 151_logger.LogDebug("Running {RuntimeName} with arguments: {ArgumentList}", Name, spec.Arguments); 200_logger.LogDebug("Running {RuntimeName} with arguments: {ArgumentList}", Name, spec.Arguments); 216_logger.LogDebug(successLogTemplate, logArguments); 283_logger.LogDebug("{RuntimeName} (stdout): {Output}", RuntimeExecutable, output); 287_logger.LogDebug("{RuntimeName} (stderr): {Error}", RuntimeExecutable, error);
Publishing\DockerContainerRuntime.cs (3)
98Logger.LogDebug("docker buildx (stdout): {Output}", output); 102Logger.LogDebug("docker buildx (stderr): {Error}", error); 117Logger.LogDebug("Running Docker CLI with arguments: {ArgumentList}", spec.Arguments);
Publishing\PipelineExecutor.cs (1)
40logger.LogDebug("Waiting for backchannel connection before publishing.");
Publishing\ResourceContainerImageManager.cs (8)
190logger.LogDebug("Checking {ContainerRuntimeName} health", ContainerRuntime.Name); 200logger.LogDebug("{ContainerRuntimeName} is healthy", ContainerRuntime.Name); 209logger.LogDebug("Building container images completed"); 247logger.LogDebug("Resource {ResourceName} already has a container image associated and no build annotation. Skipping build.", resource.Name); 344logger.LogDebug("dotnet publish {ProjectPath} (stdout): {Output}", projectMetadata.ProjectPath, output); 348logger.LogDebug("dotnet publish {ProjectPath} (stderr): {Error}", projectMetadata.ProjectPath, error); 352logger.LogDebug( 372logger.LogDebug(
src\Shared\PackageUpdateHelpers.cs (5)
78logger.LogDebug( 91logger.LogDebug("Current version {CurrentVersion} is prerelease and older than newest stable version {NewestStableVersion}.", currentVersion, newestStable); 98logger.LogDebug("Current version {CurrentVersion} is prerelease and older than newest prerelease version {NewestPrereleaseVersion}.", currentVersion, newestPrerelease); 107logger.LogDebug("Current version {CurrentVersion} is stable and older than newest stable version {NewestStableVersion}.", currentVersion, newestStable); 112logger.LogDebug("No newer version for the current version {CurrentVersion}.", currentVersion);
Utils\FileSystemService.cs (5)
112_logger?.LogDebug("Cleaning up {Count} remaining temporary files/directories", _allocatedItems.Count); 183_parent.Logger?.LogDebug("Allocated temporary directory: {Path}", path); 211_parent.Logger?.LogDebug("Cleaned up temporary directory: {Path}", _path); 237_parent.Logger?.LogDebug("Allocated temporary file: {Path}", path); 265_parent.Logger?.LogDebug("Cleaned up temporary file: {Path}", _path);
VersionChecking\PackageFetcher.cs (5)
37_logger.LogDebug("dotnet (stdout): {Output}", output); 41_logger.LogDebug("dotnet (stderr): {Error}", error); 46_logger.LogDebug("Running dotnet CLI to check for latest version of {PackageId} with arguments: {ArgumentList}", PackageId, spec.Arguments); 57_logger.LogDebug("The dotnet CLI call to check for latest version failed with exit code {ExitCode}.", processResult.ExitCode); 68_logger.LogDebug("Found {PackageCount} packages.", packages.Count);
VersionChecking\VersionCheckService.cs (6)
66_logger.LogDebug("App host version is not available, skipping version check."); 99_logger.LogDebug("Last version check was performed {IntervalSinceLastCheck} ago on {CheckDate}, skipping version check.", intervalSinceLastCheck, checkDateString); 116_logger.LogDebug("Using stored known latest version {StoredKnownLatestVersion}.", storedKnownLatestVersion); 126_logger.LogDebug("App host version is up to date or the latest version is unknown."); 135_logger.LogDebug("Ignoring version {Version} as it is less than or equal to the ignored version {IgnoreVersion}.", latestVersion, ignoreVersion); 160_logger.LogDebug("User chose to ignore version {Version}.", latestVersion);
Aspire.Hosting.Azure (19)
AcrLoginService.cs (3)
69_logger.LogDebug("AAD access token acquired for ACR audience, registry: {RegistryEndpoint}, token length: {TokenLength}", 76_logger.LogDebug("ACR refresh token acquired, length: {TokenLength}", refreshToken.Length); 96_logger.LogDebug("Exchanging AAD token for ACR refresh token at {ExchangeUrl} (tenant: {TenantId})",
AzureBicepResource.cs (2)
295context.Logger.LogDebug("Resource {ResourceName} is excluded from publish. Skipping provisioning.", resource.Name); 303context.Logger.LogDebug("Resource {ResourceName} is already provisioned. Skipping provisioning.", resource.Name);
AzurePublishingContext.cs (1)
473logger.LogDebug("Writing Bicep module {BicepName}.bicep to {TargetPath}", MainInfrastructure.BicepName, outputDirectoryPath);
Provisioning\Internal\BaseProvisioningContextProvider.cs (2)
301_logger.LogDebug("SubscriptionId '{SubscriptionId}' isn't a valid GUID. Skipping getting available resource groups from client.", subscriptionId); 336_logger.LogDebug("SubscriptionId '{SubscriptionId}' isn't a valid GUID. Skipping getting available locations from client.", subscriptionId);
Provisioning\Internal\BicepCompiler.cs (4)
53_logger.LogDebug("{CommandPath} (stdout): {Output}", commandPath, data); 58_logger.LogDebug("{CommandPath} (stderr): {Error}", commandPath, data); 62_logger.LogDebug("Running {CommandPath} with arguments: {Arguments}", commandPath, arguments); 72_logger.LogDebug("Bicep compilation for {BicepFilePath} succeeded.", bicepFilePath);
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (1)
68_logger.LogDebug("Azure provisioning options have been handled successfully.");
Provisioning\Internal\RunModeProvisioningContextProvider.cs (1)
83_logger.LogDebug("Azure provisioning options have been handled successfully.");
Provisioning\Provisioners\BicepProvisioner.cs (5)
47logger.LogDebug("Checksum mismatch for resource {ResourceName}. Expected: {ExpectedChecksum}, Actual: {ActualChecksum}", resource.Name, currentCheckSum, configCheckSum); 51logger.LogDebug("Configuring resource {ResourceName} from existing deployment state.", resource.Name); 161logger.LogDebug("Setting parameters and scope for resource {ResourceName}", resource.Name); 181logger.LogDebug("Starting deployment of resource {ResourceName} to resource group {ResourceGroupName}", resource.Name, resourceGroup.Name); 216logger.LogDebug("Deployment of resource {ResourceName} to resource group {ResourceGroupName} completed in {Elapsed}", resource.Name, resourceGroup.Name, sw.Elapsed);
Aspire.Hosting.Azure.Kusto (2)
AzureKustoBuilderExtensions.cs (2)
283logger.LogDebug("Creating database '{DatabaseName}'", databaseResource.DatabaseName); 288logger.LogDebug("Database '{DatabaseName}' created successfully", databaseResource.DatabaseName);
Aspire.Hosting.DevTunnels (10)
DevTunnelCliClient.cs (1)
286logger?.LogDebug("Operation was cancelled.");
DevTunnelLoginManager.cs (6)
30_logger.LogDebug("Checking dev tunnel login status"); 34_logger.LogDebug("User already logged in to dev tunnel service as {Username} with {Provider}", loginStatus.Username, loginStatus.Provider); 56_logger.LogDebug("Prompting user to login to dev tunnel service"); 71_logger.LogDebug("User selected {LoginProvider} for dev tunnel login", selectedProvider); 91_logger.LogDebug("User already logged in to dev tunnel service as {Username} with {Provider}", loginStatus.Username, loginStatus.Provider); 95_logger.LogDebug("User login to dev tunnel service failed, retrying login prompt");
DevTunnelResourceBuilderExtensions.cs (2)
136logger.LogDebug("Dev tunnel '{TunnelId}' created", tunnelResource.TunnelId); 668portLogger.LogDebug("Anonymous access status unavailable for port at this time (tunnel or port access status null)");
IDevTunnelClient.cs (1)
132logger.LogDebug("Anonymous access: TunnelAllow={TunnelAllow} InheritedAllow={InheritedAllow} ExplicitAllow={ExplicitAllow} ExplicitDeny={ExplicitDeny} Effective={Effective}",
Aspire.Hosting.Docker (6)
DockerComposeEnvironmentResource.cs (4)
230context.Logger.LogDebug("Running docker compose up with arguments: {Arguments}", arguments); 240context.Logger.LogDebug("docker compose up (stdout): {Output}", output); 244context.Logger.LogDebug("docker compose up (stderr): {Error}", error); 292context.Logger.LogDebug("Running docker compose down with arguments: {Arguments}", arguments);
DockerComposeServiceResource.cs (2)
374context.Logger.LogDebug("docker compose ps (stderr): {Error}", error); 389context.Logger.LogDebug("docker compose ps failed with exit code {ExitCode}", processResult.ExitCode);
Aspire.Hosting.JavaScript (5)
JavaScriptHostingExtensions.cs (5)
953logger.LogDebug("Detected Node.js version {Version} from .nvmrc file", version); 965logger.LogDebug("Detected Node.js version {Version} from .node-version file", version); 984logger.LogDebug("Detected Node.js version {Version} from package.json engines.node field", version); 1009logger.LogDebug("Detected Node.js version {Version} from .tool-versions file", version); 1017logger.LogDebug("No Node.js version detected, using default version {DefaultVersion}", DefaultNodeVersion);
Aspire.Hosting.Maui (2)
Utilities\MauiEnvironmentHelper.cs (2)
177logger.LogDebug("Pruned {Count} stale Android environment targets file(s): {Files}", deletedFiles.Count, string.Join(", ", deletedFiles)); 332logger.LogDebug("Pruned {Count} stale iOS environment targets file(s): {Files}", deletedFiles.Count, string.Join(", ", deletedFiles));
Aspire.Hosting.MySql (2)
MySqlBuilderExtensions.cs (2)
147logger.LogDebug("Creating database '{DatabaseName}'", sqlDatabase.DatabaseName); 167logger.LogDebug("Database '{DatabaseName}' created successfully", sqlDatabase.DatabaseName);
Aspire.Hosting.PostgreSQL (3)
PostgresBuilderExtensions.cs (3)
583logger.LogDebug("Creating database '{DatabaseName}'", npgsqlDatabase.DatabaseName); 591logger.LogDebug("Database '{DatabaseName}' created successfully", npgsqlDatabase.DatabaseName); 596logger.LogDebug("Database '{DatabaseName}' already exists", npgsqlDatabase.DatabaseName);
Aspire.Hosting.SqlServer (2)
SqlServerBuilderExtensions.cs (2)
248logger.LogDebug("Creating database '{DatabaseName}'", sqlDatabase.DatabaseName); 305logger.LogDebug("Database '{DatabaseName}' created successfully", sqlDatabase.DatabaseName);
Aspire.Hosting.Testing.Tests (1)
ResourceLoggerForwarderServiceTests.cs (1)
98resourceLogger.LogDebug("Test debug message");
Aspire.Hosting.Tests (1)
Pipelines\DistributedApplicationPipelineTests.cs (1)
1350logger.LogDebug($"Debug message");
AzureAppServicesHostingStartupSample (1)
Startup.cs (1)
14logger.LogDebug("Received request: " + context.Request.Method + " " + context.Request.Path);
AzureAppServicesSample (1)
Startup.cs (1)
25logger.LogDebug("Received request: " + context.Request.Method + " " + context.Request.Path);
ClientSample (2)
LoggingMessageHandler.cs (2)
27_logger.LogDebug("Send: {0} {1}", request.Method, request.RequestUri); 29_logger.LogDebug("Recv: {0} {1}", (int)result.StatusCode, request.RequestUri);
Http3SampleApp (3)
src\Shared\HttpClient\HttpEventSourceListener.cs (3)
20_logger.LogDebug($"Starting {nameof(HttpEventSourceListener)}."); 77_logger?.LogDebug(message); 95_logger?.LogDebug($"Stopping {nameof(HttpEventSourceListener)}.");
IIS.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (2)
88logger?.LogDebug($"Processing {target.FullName}"); 91logger?.LogDebug($" Copying {fileInfo.Name}");
IIS.LongTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (2)
88logger?.LogDebug($"Processing {target.FullName}"); 91logger?.LogDebug($" Copying {fileInfo.Name}");
IIS.NewHandler.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (2)
88logger?.LogDebug($"Processing {target.FullName}"); 91logger?.LogDebug($" Copying {fileInfo.Name}");
IIS.NewShim.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (2)
88logger?.LogDebug($"Processing {target.FullName}"); 91logger?.LogDebug($" Copying {fileInfo.Name}");
IIS.ShadowCopy.Tests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (2)
88logger?.LogDebug($"Processing {target.FullName}"); 91logger?.LogDebug($" Copying {fileInfo.Name}");
IISExpress.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (2)
88logger?.LogDebug($"Processing {target.FullName}"); 91logger?.LogDebug($" Copying {fileInfo.Name}");
IISSample (1)
Startup.cs (1)
39logger.LogDebug("Received request: " + context.Request.Method + " " + context.Request.Path);
InMemory.FunctionalTests (8)
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (5)
203Logger.LogDebug("Advancing timeProvider {timeSpan}.", timeSpan); 482Logger.LogDebug($"Reusing context for request stream {requestStreamId}."); 1241_testBase.Logger.LogDebug($"Disposing stream {StreamId}"); 1257_testBase.Logger.LogDebug($"Pooling stream {StreamId} for reuse."); 1263_testBase.Logger.LogDebug($"Can't reuse stream {StreamId}. Aborted: {_isAborted}, Reader completed successfully: {_transportPipeReader.IsCompletedSuccessfully}, Writer completed successfully: {_transportPipeWriter.IsCompletedSuccessfully}.");
TestTransport\InMemoryTransportConnection.cs (1)
55_logger.LogDebug(@"Connection id ""{ConnectionId}"" closing because: ""{Message}""", ConnectionId, abortReason?.Message);
TlsListenerTests.cs (2)
45Logger.LogDebug("[Received TlsClientHelloBytesCallback] Connection: {0}; TLS client hello buffer: {1}", connection.ConnectionId, clientHelloBytes.Length); 88Logger.LogDebug("[Received TlsClientHelloBytesCallback] Connection: {0}; TLS client hello buffer: {1}", connection.ConnectionId, clientHelloBytes.Length);
Interop.FunctionalTests (6)
H2SpecCommands.cs (3)
232logger.LogDebug(args.Data); 246logger.LogDebug("H2spec has exited."); 296logger.LogDebug(results);
src\Shared\HttpClient\HttpEventSourceListener.cs (3)
20_logger.LogDebug($"Starting {nameof(HttpEventSourceListener)}."); 77_logger?.LogDebug(message); 95_logger?.LogDebug($"Stopping {nameof(HttpEventSourceListener)}.");
InteropClient (3)
src\Shared\HttpClient\HttpEventSourceListener.cs (3)
20_logger.LogDebug($"Starting {nameof(HttpEventSourceListener)}."); 77_logger?.LogDebug(message); 95_logger?.LogDebug($"Stopping {nameof(HttpEventSourceListener)}.");
Kestrel.SampleApp (1)
Startup.cs (1)
54logger.LogDebug($"Peer: {connectionFeature.RemoteIpAddress?.ToString()}:{connectionFeature.RemotePort}"
Microsoft.AspNetCore.Authentication.OpenIdConnect (2)
OpenIdConnectHandler.cs (2)
997Logger.LogDebug($"Unexpected token response format. Status Code: {(int)responseMessage.StatusCode}. Content-Type header is missing."); 1001Logger.LogDebug($"Unexpected token response format. Status Code: {(int)responseMessage.StatusCode}. Content-Type {responseMessage.Content.Headers.ContentType}.");
Microsoft.AspNetCore.Authorization.Policy (1)
AuthorizationMiddleware.cs (1)
180log.LogDebug("Policy authentication schemes {policyName} did not succeed", String.Join(", ", policy.AuthenticationSchemes));
Microsoft.AspNetCore.DataProtection (1)
TypeForwardingActivator.cs (1)
44_logger.LogDebug("Forwarded activator type request from {FromType} to {ToType}",
Microsoft.AspNetCore.Hosting.Tests (4)
src\Shared\AsyncEnumerableExtensions.cs (2)
21logger.LogDebug("Operation {OperationName} completed with value {Value}.", operationName, value); 25logger.LogDebug("Operation {OperationName} expected {ExpectedValue} but got {Value}.", operationName, expectedValue, value);
src\Shared\EventSource.Testing\TestCounterListener.cs (2)
54_logger.LogDebug("Counter {CounterName} on event source {EventSourceName} has increment value {Value}.", counter, eventData.EventSource.Name, increment); 58_logger.LogDebug("Counter {CounterName} on event source {EventSourceName} has mean value {Value}.", counter, eventData.EventSource.Name, mean);
Microsoft.AspNetCore.Http.Results (3)
src\Shared\RangeHelper\RangeHelper.cs (3)
50logger.LogDebug("Multiple ranges are not supported."); 61logger.LogDebug("Range header's value is invalid."); 72logger.LogDebug("Range header's value is invalid.");
Microsoft.AspNetCore.InternalTesting.Tests (3)
LoggedTestXunitTests.cs (3)
71Logger.LogDebug("Debug"); 81Logger.LogDebug("Debug"); 95Logger.LogDebug("Debug");
Microsoft.AspNetCore.Mvc.Core (6)
Infrastructure\ConfigureCompatibilityOptions.cs (3)
70_logger.LogDebug( 83_logger.LogDebug( 95_logger.LogDebug(
src\Shared\RangeHelper\RangeHelper.cs (3)
50logger.LogDebug("Multiple ranges are not supported."); 61logger.LogDebug("Range header's value is invalid."); 72logger.LogDebug("Range header's value is invalid.");
Microsoft.AspNetCore.Server.IntegrationTesting (8)
CachingApplicationPublisher.cs (2)
66logger.LogDebug($"Processing {target.FullName}"); 69logger.LogDebug($" Copying {fileInfo.Name}");
Common\LoggingHandler.cs (2)
20_logger.LogDebug("Sending {method} {url}", request.Method, request.RequestUri); 24_logger.LogDebug("Received {statusCode} {reasonPhrase} {url}", response.StatusCode, response.ReasonPhrase, request.RequestUri);
Deployers\NginxDeployer.cs (4)
148Logger.LogDebug("Using PID file: {pidFile}", pidFile); 149Logger.LogDebug("Using Error Log file: {errorLog}", pidFile); 150Logger.LogDebug("Using Access Log file: {accessLog}", pidFile); 218Logger.LogDebug("Deleting config file: {configFile}", _configFile);
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (6)
IISExpressDeployer.cs (4)
309Logger.LogDebug("Saving Config to {configPath}", DeploymentParameters.ServerConfigLocation); 416Logger.LogDebug("Deleting applicationHost.config file from {configLocation}", DeploymentParameters.ServerConfigLocation); 497Logger.LogDebug($"EnumWindow returned {ptr} belonging to {windowProcessId}"); 514Logger.LogDebug($"Skipping window {ptr} with class name {className}");
LoggingHandler.cs (1)
25_logger.LogDebug(request.ToString());
RetryHandler.cs (1)
51_logger.LogDebug($"Retrying {i + 1}th time after {RetryDelay.Seconds} sec.");
Microsoft.AspNetCore.Server.Kestrel.Core (4)
AnyIPListenOptions.cs (1)
37context.Logger.LogDebug(CoreStrings.FallbackToIPv4Any, IPEndPoint.Port, IPEndPoint.Port);
Internal\AddressBinder.cs (1)
183context.Logger.LogDebug(CoreStrings.BindingToDefaultAddress, Constants.DefaultServerAddress);
Internal\KestrelServerImpl.cs (1)
350Trace.LogDebug("Config reload token fired. Checking for changes...");
Middleware\Internal\LoggingStream.cs (1)
224_logger.LogDebug(builder.ToString());
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (5)
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (5)
203Logger.LogDebug("Advancing timeProvider {timeSpan}.", timeSpan); 482Logger.LogDebug($"Reusing context for request stream {requestStreamId}."); 1241_testBase.Logger.LogDebug($"Disposing stream {StreamId}"); 1257_testBase.Logger.LogDebug($"Pooling stream {StreamId} for reuse."); 1263_testBase.Logger.LogDebug($"Can't reuse stream {StreamId}. Aborted: {_isAborted}, Reader completed successfully: {_transportPipeReader.IsCompletedSuccessfully}, Writer completed successfully: {_transportPipeWriter.IsCompletedSuccessfully}.");
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (3)
src\Shared\HttpClient\HttpEventSourceListener.cs (3)
20_logger.LogDebug($"Starting {nameof(HttpEventSourceListener)}."); 77_logger?.LogDebug(message); 95_logger?.LogDebug($"Stopping {nameof(HttpEventSourceListener)}.");
Microsoft.AspNetCore.SignalR.Client.Tests (1)
TestHttpMessageHandler.cs (1)
79_logger.LogDebug("Calling handlers for a '{Method}' going to '{Url}'.", request.Method, request.RequestUri);
Microsoft.AspNetCore.SpaProxy (1)
SpaProxyLaunchManager.cs (1)
260_logger.LogDebug($"Watch process '{stopProcess}' started.");
Microsoft.AspNetCore.StaticAssets (3)
src\Shared\RangeHelper\RangeHelper.cs (3)
50logger.LogDebug("Multiple ranges are not supported."); 61logger.LogDebug("Range header's value is invalid."); 72logger.LogDebug("Range header's value is invalid.");
Microsoft.AspNetCore.StaticFiles (3)
src\Shared\RangeHelper\RangeHelper.cs (3)
50logger.LogDebug("Multiple ranges are not supported."); 61logger.LogDebug("Range header's value is invalid."); 72logger.LogDebug("Range header's value is invalid.");
Microsoft.AspNetCore.StaticFiles.FunctionalTests (3)
src\Shared\RangeHelper\RangeHelper.cs (3)
50logger.LogDebug("Multiple ranges are not supported."); 61logger.LogDebug("Range header's value is invalid."); 72logger.LogDebug("Range header's value is invalid.");
Microsoft.AspNetCore.WebSockets (1)
WebSocketMiddleware.cs (1)
77_logger.LogDebug("Request origin {Origin} is not in the list of allowed origins.", originHeader.ToString());
Microsoft.CodeAnalysis.LanguageServer (18)
BrokeredServices\BrokeredServiceBridgeProvider.cs (1)
45_logger.LogDebug("Setting up brokered service bridge");
BrokeredServices\BrokeredServiceTraceListener.cs (2)
30_logger.LogDebug(message); 35_logger.LogDebug(message);
BrokeredServices\Services\BrokeredServiceBridgeManifest\BrokeredServiceBridgeManifestService.cs (1)
48_logger.LogDebug($"Proffered services: {string.Join(',', services.Select(s => s.ToString()))}");
DotnetCliHelper.cs (3)
62_logger.LogDebug(stdOutput.ToString()); 74_logger.LogDebug($"Running dotnet CLI command at {_dotnetExecutablePath.Value} in directory {workingDirectory} with arguments '{string.Join(' ', arguments)}'"); 121_logger.LogDebug($"Using vstest console at {vstestConsole}");
FileBasedPrograms\VirtualProjectXmlProvider.cs (2)
48process.ErrorDataReceived += (sender, args) => logger.LogDebug($"[stderr] dotnet run-api: {args.Data}"); 56logger.LogDebug($"dotnet run-api exited with exit code '{process.ExitCode}'.");
HostWorkspace\LanguageServerWorkspaceFactory.cs (1)
96_logger.LogDebug($"Solution-level analyzer at {analyzerPath} added to workspace.");
HostWorkspace\ProjectInitializationHandler.cs (1)
114_logger.LogDebug("Devkit project initialization completed");
LanguageServer\Handler\Restore\RestoreHandler.cs (3)
40_logger.LogDebug($"Restore was requested but no paths were provided."); 45_logger.LogDebug($"Running restore on {restorePaths.Length} paths, starting with '{restorePaths.First()}'."); 52_logger.LogDebug($"Restore completed successfully.");
Logging\LspServiceLogger.cs (1)
29public override void LogDebug(string message, params object[] @params) => _hostLogger.LogDebug(message, @params);
Testing\TestDiscoverer.cs (2)
84_logger.LogDebug(message: $"Potential test methods in range: {string.Join(Environment.NewLine, potentialTestMethods)}"); 107_logger.LogDebug($"Filtered {discoveredTests.Length} to {matchedTests.Count} tests");
Testing\TestRunner.TestRunHandler.cs (1)
45_logger.LogDebug($"Test run completed in {testRunCompleteArgs.ElapsedTimeInRunningTests}");
Microsoft.DotNet.Build.Tasks.Feed (6)
src\ProductionChannelValidator.cs (6)
173_logger.LogDebug($"Validating Azure DevOps tags for build {build.Id}"); 185_logger.LogDebug($"Build {build.Id} has required tag '{RequiredAzureDevOpsTag}'"); 232_logger.LogDebug($"Checking branch classification for {azureDevOpsAccount}/{projectId}/{repositoryId}, branch: {branchName}"); 243_logger.LogDebug($"Branch '{branchName}' is classified as a production branch"); 396_logger.LogDebug($"Fetching build info from: {url}"); 449_logger.LogDebug($"Fetching branch classifications from: {url}");
Microsoft.Extensions.Caching.Memory (3)
MemoryCache.cs (3)
527_logger.LogDebug("Overcapacity compaction triggered"); 552_logger.LogDebug($"Overcapacity compaction executing. Current size {currentSize}"); 565_logger.LogDebug($"Overcapacity compaction executed. New size {coherentState.Size}");
Microsoft.Extensions.Diagnostics.Testing.Tests (21)
Logging\FakeLogCollectorTests.cs (4)
46logger.LogDebug("Hello world!"); 88logger.LogDebug("Hello world!"); 127logger.LogDebug("Hello world!"); 159logger.LogDebug("Hello world!");
Logging\FakeLoggerProviderTests.cs (5)
18logger.LogDebug("M1"); 24logger.LogDebug("M2"); 30logger.LogDebug("M3"); 44l1.LogDebug("M1"); 45l2.LogDebug("M2");
Logging\FakeLoggerTests.cs (12)
168logger.LogDebug("This record should be marked as being disabled"); 174logger.LogDebug("This record should be marked as being enabled"); 189logger.LogDebug("BEFORE"); 191logger.LogDebug("AFTER"); 209logger.LogDebug("M1"); 231logger.LogDebug("M1"); 234logger.LogDebug("M1"); 237logger.LogDebug("M2"); 256logger.LogDebug("M1"); 257logger.LogDebug("M2"); 260logger.LogDebug("M3"); 261logger.LogDebug("M4");
OrderProcessor (1)
OrderProcessingWorker.cs (1)
61_logger.LogDebug("""
Sockets.BindTests (1)
src\Servers\Kestrel\shared\test\TransportTestHelpers\TestServer.cs (1)
118Context.Log.LogDebug($"TestServer is listening on port {Port}");
Sockets.FunctionalTests (3)
src\Servers\Kestrel\shared\test\TransportTestHelpers\TestServer.cs (1)
118Context.Log.LogDebug($"TestServer is listening on port {Port}");
src\Servers\Kestrel\test\FunctionalTests\UnixDomainSocketsTests.cs (2)
59Logger.LogDebug("Application receive loop ending for connection {connectionId}.", connection.ConnectionId); 70Logger.LogDebug("Graceful shutdown triggered for {connectionId}.", connection.ConnectionId);
Stress.TelemetryService (1)
TelemetryStresser.cs (1)
79logger.LogDebug($"Export complete. Rejected count: {result.RejectedDataPoints}");
SystemdTestApp (1)
Startup.cs (1)
28logger.LogDebug($"Peer: {connectionFeature.RemoteIpAddress?.ToString()}:{connectionFeature.RemotePort}"