620 references to LogDebug
aspire (234)
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\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");
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);
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);
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);
Aspire.Cli.Tests (3)
Aspire.Dashboard (57)
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);
Aspire.Hosting (122)
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\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);
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);
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);
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);
Aspire.Hosting.Azure (19)
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)
Aspire.Hosting.DevTunnels (10)
Aspire.Hosting.Docker (6)
Aspire.Hosting.JavaScript (5)
Aspire.Hosting.Maui (2)
Aspire.Hosting.MySql (2)
Aspire.Hosting.PostgreSQL (3)
Aspire.Hosting.SqlServer (2)
Aspire.Hosting.Testing.Tests (1)
Aspire.Hosting.Tests (1)
AzureAppServicesHostingStartupSample (1)
AzureAppServicesSample (1)
ClientSample (2)
Http3SampleApp (3)
IIS.FunctionalTests (2)
IIS.LongTests (2)
IIS.NewHandler.FunctionalTests (2)
IIS.NewShim.FunctionalTests (2)
IIS.ShadowCopy.Tests (2)
IISExpress.FunctionalTests (2)
IISSample (1)
InMemory.FunctionalTests (8)
Interop.FunctionalTests (6)
InteropClient (3)
Kestrel.SampleApp (1)
Microsoft.AspNetCore.Authentication.OpenIdConnect (2)
Microsoft.AspNetCore.Authorization.Policy (1)
Microsoft.AspNetCore.DataProtection (1)
Microsoft.AspNetCore.Hosting.Tests (4)
Microsoft.AspNetCore.Http.Results (3)
Microsoft.AspNetCore.InternalTesting.Tests (3)
Microsoft.AspNetCore.Mvc.Core (6)
Microsoft.AspNetCore.Server.IntegrationTesting (8)
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (6)
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (5)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (3)
Microsoft.AspNetCore.SignalR.Client.Tests (1)
Microsoft.AspNetCore.SpaProxy (1)
Microsoft.AspNetCore.StaticAssets (3)
Microsoft.AspNetCore.StaticFiles (3)
Microsoft.AspNetCore.StaticFiles.FunctionalTests (3)
Microsoft.AspNetCore.WebSockets (1)
Microsoft.CodeAnalysis.LanguageServer (18)
Microsoft.DotNet.Build.Tasks.Feed (6)
Microsoft.Extensions.Caching.Memory (3)
Microsoft.Extensions.Diagnostics.Testing.Tests (21)
OrderProcessor (1)
Sockets.BindTests (1)
Sockets.FunctionalTests (3)
Stress.TelemetryService (1)
SystemdTestApp (1)