613 references to LogDebug
aspire (110)
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");
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);
699logger.LogDebug("Connected to AppHost backchannel at {SocketPath}", socketPath);
905logger.LogDebug("NuGet config file not found at path: {Path}", filePath);
1231logger.LogDebug("Using private SDK installation at {SdkPath}", sdkInstallPath);
Projects\ProjectLocator.cs (28)
42logger.LogDebug("Searching for project files in {SearchDirectory}", searchDirectory.FullName);
53logger.LogDebug("Found {ProjectFileCount} project files in {SearchDirectory}", projectFiles.Length, searchDirectory.FullName);
63logger.LogDebug("Checking project file {ProjectFile}", projectFile.FullName);
68logger.LogDebug("Found AppHost project file {ProjectFile} in {SearchDirectory}", projectFile.FullName, searchDirectory.FullName);
89logger.LogDebug("Searching for single-file apphosts in {SearchDirectory}", searchDirectory.FullName);
91logger.LogDebug("Found {CandidateFileCount} single-file apphost candidates in {SearchDirectory}", candidateAppHostFiles.Length, searchDirectory.FullName);
95logger.LogDebug("Checking single-file apphost candidate {CandidateFile}", candidateFile.FullName);
99logger.LogDebug("Found single-file apphost candidate {CandidateFile} in {SearchDirectory}", candidateFile.FullName, searchDirectory.FullName);
211logger.LogDebug("Finding project file in {CurrentDirectory}", executionContext.WorkingDirectory);
218logger.LogDebug("Provided path {Path} is a directory, searching for project files recursively", projectFile.FullName);
234logger.LogDebug("Found {ProjectFileCount} project files in {Directory}", allProjectFiles.Length, directory.FullName);
248logger.LogDebug("Checking project file {ProjectFile}", candidateProject.FullName);
253logger.LogDebug("Found AppHost project file {ProjectFile}", candidateProject.FullName);
267logger.LogDebug("Found {CandidateFileCount} single-file apphost candidates", appHostFiles.Length);
271logger.LogDebug("Checking single-file apphost candidate {CandidateFile}", candidateFile.FullName);
275logger.LogDebug("Found valid single-file apphost {AppHostFile}", candidateFile.FullName);
301logger.LogDebug("Found single AppHost project file {ProjectFile} in directory {Directory}", appHostProjects[0].FullName, directory.FullName);
308logger.LogDebug("Multiple AppHost project files found in directory {Directory}, prompting user to select", directory.FullName);
318logger.LogDebug("Multiple AppHost project files found in directory {Directory}, selecting none", directory.FullName);
343logger.LogDebug("Using single-file apphost {ProjectFile}", projectFile.FullName);
359logger.LogDebug("Using project file {ProjectFile}", projectFile.FullName);
377logger.LogDebug("No project file specified, searching for *.csproj files in {CurrentDirectory}", executionContext.WorkingDirectory);
381logger.LogDebug("Found {ProjectFileCount} project files.", results.BuildableAppHost.Count);
427logger.LogDebug("Creating settings file at {SettingsFilePath}", settingsFile.FullName);
446logger.LogDebug("Searching for executable project files in {SearchDirectory}", searchDirectory);
456logger.LogDebug("Found {ProjectFileCount} project files in {SearchDirectory}", projectFiles.Length, searchDirectory);
466logger.LogDebug("Checking project file {ProjectFile} for OutputType", projectFile.FullName);
485logger.LogDebug("Found executable project file {ProjectFile} with OutputType {OutputType}", projectFile.FullName, outputType);
Aspire.Cli.Tests (3)
Aspire.Dashboard (51)
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 (82)
ApplicationModel\ResourceNotificationService.cs (9)
124_logger.LogDebug("Waiting for resource '{ResourceName}' to enter one of the target state: {TargetStates}", resourceName, string.Join(", ", targetStates));
135_logger.LogDebug("Finished waiting for resource '{ResourceName}'. Resource state is '{State}'.", resourceName, stateText);
220_logger.LogDebug("Waiting for resource '{ResourceName}' to enter the '{State}' state.", resourceName, HealthStatus.Healthy);
230_logger.LogDebug("Waiting for resource ready to execute for '{ResourceName}'.", resourceName);
236_logger.LogDebug("Finished waiting for resource '{ResourceName}'.", resourceName);
439_logger.LogDebug("Waiting for resource '{ResourceName}' to match predicate.", resourceName);
441_logger.LogDebug("Finished waiting for resource '{ResourceName}'.", resourceName);
618_logger.LogDebug("Resource {ResourceName}/{ResourceId} changed state: {PreviousState} -> {NewState}", resource.Name, resourceId, previousStateText, newStateText);
623_logger.LogDebug("Resource {ResourceName}/{ResourceId} changed state: {NewState}", resource.Name, resourceId, newStateText);
Dcp\DcpExecutor.cs (18)
167_logger.LogDebug("Cancellation received during application startup.");
332_logger.LogDebug("Watching over DCP {ResourceType} resources.", typeof(T).Name);
353_logger.LogDebug("Cancellation received while watching {ResourceType} resources.", typeof(T).Name);
361_logger.LogDebug("Stopped watching {ResourceType} resources.", typeof(T).Name);
599_logger.LogDebug("Starting log streaming for {ResourceName}.", resource.Metadata.Name);
616_logger.LogDebug("Log streaming for {ResourceName} was cancelled.", resource.Metadata.Name);
1764_logger.LogDebug("Stopping resource '{ResourceName}'...", resourceReference.DcpResourceName);
1779_logger.LogDebug("Container '{ResourceName}' was stopped.", resourceReference.DcpResourceName);
1784_logger.LogDebug("Container '{ResourceName}' is still running; trying again to stop it...", resourceReference.DcpResourceName);
1794_logger.LogDebug("Executable '{ResourceName}' was stopped.", resourceReference.DcpResourceName);
1799_logger.LogDebug("Executable '{ResourceName}' is still running; trying again to stop it...", resourceReference.DcpResourceName);
1835_logger.LogDebug("Starting {ResourceType} '{ResourceName}'.", resourceType, appResource.DcpResourceName);
1877_logger.LogDebug("Ensuring '{ResourceName}' is deleted.", resourceName);
1891_logger.LogDebug("Delete request for '{ResourceName}' successfully completed. Resource to delete has UID '{Uid}'.", resourceName, uid);
1895_logger.LogDebug("Delete request for '{ResourceName}' returned NotFound.", resourceName);
1908_logger.LogDebug("Polling DCP to check if '{ResourceName}' is deleted...", resourceName);
1910_logger.LogDebug("Get request for '{ResourceName}' returned resource with UID '{Uid}'.", resourceName, uid);
1916_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);
Aspire.Hosting.Azure (11)
Provisioning\Provisioners\BicepProvisioner.cs (5)
43logger.LogDebug("Checksum mismatch for resource {ResourceName}. Expected: {ExpectedChecksum}, Actual: {ActualChecksum}", resource.Name, currentCheckSum, configCheckSum);
47logger.LogDebug("Configuring resource {ResourceName} from existing deployment state.", resource.Name);
156logger.LogDebug("Setting parameters and scope for resource {ResourceName}", resource.Name);
176logger.LogDebug("Starting deployment of resource {ResourceName} to resource group {ResourceGroupName}", resource.Name, resourceGroup.Name);
211logger.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.MySql (2)
Aspire.Hosting.NodeJs (5)
Aspire.Hosting.PostgreSQL (3)
Aspire.Hosting.SqlServer (2)
Aspire.Hosting.Testing.Tests (1)
Aspire.Hosting.Tests (1)
AspireWithNode.AppHost (2)
AzureAppServicesHostingStartupSample (1)
AzureAppServicesSample (1)
ClientSample (2)
dotnet (38)
Commands\New\MSBuildEvaluation\MSBuildEvaluator.cs (17)
76_logger?.LogDebug("Output directory is: {0}.", _outputDirectory);
77_logger?.LogDebug("Project full path is: {0}.", _projectFullPath ?? "<null>");
86_logger?.LogDebug("Found project files: {0}.", string.Join("; ", foundFiles));
92_logger?.LogDebug("Exception occurred when searching for the project file: {0}", e.Message);
97_logger?.LogDebug("No project found.");
102_logger?.LogDebug("Multiple projects found.");
122_logger?.LogDebug("Evaluating project: {0}", projectPath);
127_logger?.LogDebug("SDK-style project: {0}", IsSdkStyleProject);
130_logger?.LogDebug("Target frameworks: {0}", string.Join("; ", targetFrameworks ?? []));
132_logger?.LogDebug("Target framework: {0}", targetFramework ?? "<null>");
138_logger?.LogDebug("Project is non-SDK style, cannot evaluate restore status, succeeding.");
145_logger?.LogDebug("Project is not restored, exiting.");
152_logger?.LogDebug("Project is SDK style, single TFM:{0}, evaluation succeeded.", targetFramework);
160_logger?.LogDebug("Project is SDK style, but does not specify the framework.");
169_logger?.LogDebug("Evaluating project for target framework: {0}", tfm);
173_logger?.LogDebug("Project is SDK style, multi-target, evaluation succeeded.");
179_logger?.LogDebug("Unexpected error: {0}", e);
Commands\New\MSBuildEvaluation\ProjectCapabilityConstraint.cs (15)
26environmentSettings.Host.Logger.LogDebug("{0}: '{1}' component is not available.", nameof(ProjectCapabilityConstraintFactory), nameof(MSBuildEvaluator));
37environmentSettings.Host.Logger.LogDebug("{0}: Failed to evaluate the project: {1}.", nameof(ProjectCapabilityConstraintFactory), e.Message);
71_logger.LogDebug("Configuration: '{0}'", args);
79_logger.LogDebug("Failed to parse configuration: '{0}', reason: {1}", args, e.Message);
90_logger.LogDebug("Invalid configuration: '{0}', reason: arguments should not contain empty values.", args);
97_logger.LogDebug("Invalid configuration: '{0}', reason: argument should be a string.", args);
103_logger.LogDebug("No project found. This template can only be created inside the project.");
112_logger.LogDebug("Multiple projects found: {0}, specify the project to use.", foundProjects);
120_logger.LogDebug("The project is not restored. Run 'dotnet restore {0}' to restore the project.", _evaluationResult.ProjectPath);
128_logger.LogDebug("Failed to evaluate project context: {0}", _evaluationResult.ErrorMessage);
133_logger.LogDebug("The project {0} is not an SDK style project, and is not supported for evaluation.", _evaluationResult.ProjectPath);
139_logger.LogDebug("Evaluating '{0}' on '{1}' set.", configuredCapabiltiesExpression, string.Join(", ", _projectCapabilities));
142_logger.LogDebug("Expression evaluated to 'false'.");
147_logger.LogDebug("Expression evaluated to 'true'.");
152_logger.LogDebug("Invalid expression '{0}'.", configuredCapabiltiesExpression);
Commands\New\MSBuildEvaluation\ProjectContextSymbolSource.cs (6)
34settings.Host.Logger.LogDebug("{0}: {1} component is not available, exiting.", nameof(ProjectContextSymbolSource), nameof(MSBuildEvaluator));
41settings.Host.Logger.LogDebug("{0}: evaluation did not succeed, status: {1}, exiting.", nameof(ProjectContextSymbolSource), evaluationResult.Status);
46settings.Host.Logger.LogDebug("The project {0} is not an SDK style project, and is not supported for evaluation.", evaluationResult.ProjectPath);
59settings.Host.Logger.LogDebug("{0}: value for {1}: {2}.", nameof(ProjectContextSymbolSource), bindname, propertyValue);
64settings.Host.Logger.LogDebug("{0}: value for {1}: {2}.", nameof(ProjectContextSymbolSource), bindname, propertyValue ?? "<null>");
69settings.Host.Logger.LogDebug("{0}: unexpected error during evaluation: {1}.", nameof(ProjectContextSymbolSource), e.Message);
dotnet-format (6)
dotnet-watch (66)
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.Watch.BrowserRefresh (8)
Microsoft.AspNetCore.WebSockets (1)
Microsoft.CodeAnalysis.LanguageServer (18)
Microsoft.DotNet.Build.Tasks.Feed (6)
Microsoft.DotNet.HotReload.Client.Package (19)
Microsoft.DotNet.HotReload.Client.Tests (19)
Microsoft.Extensions.Caching.Memory (3)
Microsoft.Extensions.Diagnostics.Testing.Tests (21)
Microsoft.Extensions.DotNetDeltaApplier.Tests (19)
Microsoft.TemplateEngine.Cli (2)
OrderProcessor (1)
Sockets.BindTests (1)
Sockets.FunctionalTests (3)
Stress.TelemetryService (1)
SystemdTestApp (1)