809 references to LogInformation
aspire (68)
Certificates\CertificateGeneration\CertificateManager.cs (3)
1525_logger.LogInformation("For OpenSSL trust to take effect, '{CertDir}' must be listed in the {EnvVarName} environment variable. For example, `export {EnvVarName}=\"{CertDir}:{OpenSslDir}\"`. See https://aka.ms/dev-certs-trust for more information.", certDir, envVarName, envVarName, certDir, openSslDir);
1529_logger.LogInformation("For OpenSSL trust to take effect, '{CertDir}' must be listed in the {EnvVarName} environment variable. See https://aka.ms/dev-certs-trust for more information.", certDir, envVarName);
1541_logger.LogInformation("For OpenSSL trust to take effect, '{CertDir}' must be listed in the {EnvVarName} environment variable. For example, `export {EnvVarName}=\"{CertDir}:${EnvVarName}\"`. See https://aka.ms/dev-certs-trust for more information.", certDir, envVarName, envVarName, certDir, envVarName);
DotNet\DotNetCliRunner.cs (6)
1348logger.LogInformation("Adding package {PackageName} with version {PackageVersion} to project {ProjectFilePath}", packageName, packageVersion, projectFilePath.FullName);
1365logger.LogInformation("Package {PackageName} with version {PackageVersion} added to project {ProjectFilePath}", packageName, packageVersion, projectFilePath.FullName);
1377logger.LogInformation("Adding project {ProjectFilePath} to solution {SolutionFilePath}", projectFile.FullName, solutionFile.FullName);
1394logger.LogInformation("Project {ProjectFilePath} added to solution {SolutionFilePath}", projectFile.FullName, solutionFile.FullName);
1760logger.LogInformation("Adding project reference from {ProjectFile} to {ReferencedProject}", projectFile.FullName, referencedProject.FullName);
1777logger.LogInformation("Project reference added from {ProjectFile} to {ReferencedProject}", projectFile.FullName, referencedProject.FullName);
Interaction\ConsoleInteractionService.cs (13)
127MessageLogger.LogInformation("Status: {StatusText}", statusText);
157MessageLogger.LogInformation("Status: {StatusText}", initialStatusText);
183MessageLogger.LogInformation("Status: {StatusText}", statusText);
249MessageLogger.LogInformation("Prompt: {PromptText} (default: {DefaultValue}, secret: {IsSecret})", promptText, isSecret ? "****" : defaultValue ?? "(none)", isSecret);
272MessageLogger.LogInformation("Prompt result: {Result}", isSecret ? "****" : result);
326MessageLogger.LogInformation("Selection prompt: {PromptText}", promptText);
338MessageLogger.LogInformation("Selection result: {Result}", choiceFormatter(result));
399MessageLogger.LogInformation("Selection prompt: {PromptText}", promptText);
418MessageLogger.LogInformation("Selection results: {Results}", string.Join(", ", result.Select(choiceFormatter)));
514logger.LogInformation("{Message}", ConsoleHelpers.FormatEmojiPrefix(emoji, target, replaceEmoji: true) + logMessage);
699MessageLogger.LogInformation("Confirm: {PromptText} (default: {DefaultValue})", promptText, defaultValue);
706MessageLogger.LogInformation("Confirm result: {Result}", result);
746MessageLogger.LogInformation("{Message}", message);
Program.cs (10)
1057logger.LogInformation("Aspire CLI version: {Version}", AspireCliTelemetry.GetCliVersion());
1058logger.LogInformation("Aspire CLI build ID: {BuildId}", AspireCliTelemetry.GetCliBuildId());
1059logger.LogInformation("Aspire CLI path: {CliPath}", Environment.ProcessPath);
1062logger.LogInformation("Aspire CLI channel: {Channel}", channel);
1068logger.LogInformation("Working directory: {WorkingDirectory}", Environment.CurrentDirectory);
1071logger.LogInformation("Log file: {LogFilePath}", loggingOptions.LogFilePath);
1072logger.LogInformation("CLI process ID: {ProcessId}", Environment.ProcessId);
1167logger.LogInformation("Command: {CommandLine}", commandLine);
1204logger.LogInformation("Exit code: {ExitCode}", exitCode);
1212logger.LogInformation("Command cancelled. Exit code: {ExitCode}", exitCode);
Aspire.Cli.Tests (6)
Aspire.Dashboard (17)
Aspire.Dashboard.Components.Tests (39)
Aspire.Dashboard.Tests (20)
Aspire.Hosting (70)
Aspire.Hosting.Azure (38)
AzureProvisioningController.cs (20)
1736_logger.LogInformation("Azure provisioning state reset for {Count} Azure resources.", azureResources.Count);
1752_logger.LogInformation("Azure provisioning state reset for resource {ResourceName}.", intent.ResourceName);
1844_logger.LogInformation("Azure deployment state reset without deleting a resource group because no Azure resource group was configured.");
1848_logger.LogInformation("Azure resource group {ResourceGroup} was deleted or was already absent.", resourceGroupName);
1879_logger.LogInformation("Azure resource group {ResourceGroup} was already absent.", resourceGroupName);
2081_logger.LogInformation(
2151_logger.LogInformation("Deleted {Count} Azure resource(s) for resource {ResourceName}.", resourceIds.Count, intent.ResourceName);
2876resourceLogger.LogInformation("Cancellation requested for Azure deployment {DeploymentId}.", deploymentId);
2884resourceLogger.LogInformation("Azure deployment {DeploymentId} was already absent or no longer active during cancellation.", deploymentId);
2974_logger.LogInformation("Deleting Azure resource {ResourceId} for {ResourceName}.", resourceId, resourceName);
3017_logger.LogInformation("Purged deleted Azure Key Vault {ResourceId} in {Location} for {ResourceName}.", resourceId, keyVaultLocation, resourceName);
3024_logger.LogInformation("Deleted Azure Key Vault {ResourceId} was not found in {Location} while purging for {ResourceName}.", resourceId, keyVaultLocation, resourceName);
3478_logger.LogInformation(
3491_logger.LogInformation(
3926resourceLogger.LogInformation("Skipping {resourceName} because it is not a Bicep resource.", resource.AzureResource.Name);
3935resourceLogger.LogInformation("Skipping {resourceName} because it is not configured to be provisioned.", resource.AzureResource.Name);
3963resourceLogger.LogInformation("Using connection information stored in user secrets for {resourceName}.", resource.AzureResource.Name);
3970resourceLogger.LogInformation("Resolving {resourceName} as existing resource...", resource.AzureResource.Name);
3974resourceLogger.LogInformation("Provisioning {resourceName}...", resource.AzureResource.Name);
4190loggerService.GetLogger(azureEnvironmentResource).LogInformation("Azure provisioning state has been reset.");
Provisioning\Provisioners\BicepProvisioner.cs (8)
220logger.LogInformation("Cached Azure deployment {DeploymentId} for {ResourceName} no longer exists. Reprovisioning.", deploymentId, resource.Name);
242logger.LogInformation("Cached Azure deployment {DeploymentId} for {ResourceName} no longer exists after reconciliation started. Reprovisioning.", deploymentId, resource.Name);
595resourceLogger.LogInformation("Deploying {Name} to {DeploymentTarget}", resource.Name, deploymentTargetName);
686resourceLogger.LogInformation("Deployment started: {Url}", url);
763resourceLogger.LogInformation("Deployment of {Name} to {DeploymentTarget} took {Elapsed}", resource.Name, deploymentTargetName, sw.Elapsed);
905logger.LogInformation("Azure deployment {DeploymentId} for {ResourceName} is already active. Waiting for the existing deployment to complete.", deploymentId, resource.Name);
1298resourceLogger.LogInformation("Cancellation requested for Azure deployment {DeploymentName}.", deploymentName);
1304resourceLogger.LogInformation("Azure deployment {DeploymentName} was already absent or no longer active during cancellation.", deploymentName);
Aspire.Hosting.Azure.AppContainers (1)
Aspire.Hosting.Azure.AppService (1)
Aspire.Hosting.Azure.Kubernetes (6)
Aspire.Hosting.Azure.Kusto (2)
Aspire.Hosting.Azure.Kusto.Tests (2)
Aspire.Hosting.Azure.Sandboxes (2)
Aspire.Hosting.Blazor.Tests (2)
Aspire.Hosting.Browsers (10)
Aspire.Hosting.Browsers.Tests (12)
Aspire.Hosting.Containers.Tests (2)
Aspire.Hosting.DevTunnels (15)
DevTunnelResourceBuilderExtensions.cs (7)
142logger.LogInformation("Ensuring user is logged in to dev tunnel service");
149logger.LogInformation("Creating dev tunnel '{TunnelId}'", tunnelResource.TunnelId);
187logger.LogInformation("Deleting {Count} unmodeled ports from dev tunnel '{TunnelId}': {Ports}", unmodeledPorts.Count, tunnelResource.TunnelId, string.Join(", ", unmodeledPorts.Select(p => p.PortNumber)));
198portLogger.LogInformation("Tunnel starting");
215portLogger.LogInformation("Created dev tunnel port '{Port}' on tunnel '{Tunnel}' targeting endpoint '{Endpoint}' on resource '{TargetResource}'", tunnelPort, portResource.DevTunnel.TunnelId, portResource.TargetEndpoint.EndpointName, portResource.TargetEndpoint.Resource.Name);
784portLogger.LogInformation("Forwarding from {PortUrl} to {TargetUrl} ({TargetResourceName}/{TargetEndpointName})", tunnelPortStatus.PortUri.ToString().TrimEnd('/'), portResource.TargetEndpoint.Url, portResource.TargetEndpoint.Resource.Name, portResource.TargetEndpoint.EndpointName);
820portLogger.LogInformation("Port forwarding stopped");
Aspire.Hosting.DevTunnels.Tests (2)
Aspire.Hosting.Docker (3)
Aspire.Hosting.Dotnet.Tests (2)
Aspire.Hosting.DotnetTool.Tests (2)
Aspire.Hosting.EntityFrameworkCore (14)
Aspire.Hosting.Foundry (12)
Aspire.Hosting.Foundry.Tests (2)
Aspire.Hosting.GitHub.Models.Tests (2)
Aspire.Hosting.Java (1)
Aspire.Hosting.JavaScript.Tests (2)
Aspire.Hosting.Kafka.Tests (2)
Aspire.Hosting.Kubernetes (24)
KubernetesEnvironmentResource.cs (9)
1432context.Logger.LogInformation(
1454context.Logger.LogInformation(
1575context.Logger.LogInformation("TLS secret '{SecretName}' already exists, skipping bootstrap.", secretName);
1580context.Logger.LogInformation("Creating bootstrap TLS secret '{SecretName}' for '{Hostname}'.", secretName, hostname);
1624context.Logger.LogInformation(
1952context.Logger.LogInformation(
2212context.Logger.LogInformation("TLS secret '{SecretName}' already exists, skipping bootstrap.", secretName);
2217context.Logger.LogInformation("Creating bootstrap TLS secret '{SecretName}' for '{Hostname}'.", secretName, hostname);
2261context.Logger.LogInformation("Bootstrap TLS secret '{SecretName}' created for '{Hostname}'. Replace with a real cert via cert-manager or manually.", secretName, hostname);
Aspire.Hosting.Maui (8)
Aspire.Hosting.MongoDB (9)
ReplicaSet\MongoDBReplicaSetBuilderExtensions.cs (9)
189logger.LogInformation("Retrieving MongoDB replica set information ({ResourceName}) from member '{MemberName}'", resource.Name, memberConnection.Resource.Name);
218logger.LogInformation("MongoDB replica set member '{MemberName}' is not accepting connections yet", memberConnection.Resource.Name);
257logger.LogInformation("MongoDB replica set resource '{ResourceName}' is already configured as declared — leaving it as it is", resource.Name);
262logger.LogInformation("Re-configuring MongoDB replica set resource '{ResourceName}' from member '{MemberName}' — last version {Version}", resource.Name, existing.Connection.Resource.Name, existing.Version);
290logger.LogInformation("Reconfiguring the replica set failed: {Reason}", ex.Message);
305logger.LogInformation("Initializing MongoDB replica set resource '{ResourceName}'", resource.Name);
339logger.LogInformation("Initiating the replica set failed: {Reason}", initiateEx.Message);
343logger.LogInformation("MongoDB replica set member '{MemberName}' stopped accepting connections before initialization completed", initialPrimary.Resource.Name);
349logger.LogInformation("MongoDB replica set configuration retry attempt {Current}/{Max} will begin after {WaitIntervalSeconds} seconds", retries + 1, MaxRetriesAttempt, s_rsInitiationRetryWaitInterval.TotalSeconds);
Aspire.Hosting.MySql (3)
Aspire.Hosting.MySql.Tests (2)
Aspire.Hosting.OpenAI.Tests (2)
Aspire.Hosting.PostgreSQL (3)
Aspire.Hosting.PostgreSQL.Tests (2)
Aspire.Hosting.Python (1)
Aspire.Hosting.RabbitMQ.Tests (2)
Aspire.Hosting.Radius (17)
Aspire.Hosting.RemoteHost (8)
Aspire.Hosting.SqlServer (5)
SqlServerBuilderExtensions.cs (5)
281logger.LogInformation("Executing custom creation script for database '{DatabaseName}'", sqlDatabase.DatabaseName);
326logger.LogInformation("Completed custom creation script for database '{DatabaseName}'", sqlDatabase.DatabaseName);
339logger.LogInformation("Executing custom creation script batch {BatchNumber} for database '{DatabaseName}'", batchNumber, sqlDatabase.DatabaseName);
351logger.LogInformation("Completed custom creation script batch {BatchNumber} execution {ExecutionNumber}/{ExecutionCount} for database '{DatabaseName}' ({RowsAffected} rows affected)", batchNumber, i + 1, executionCount, sqlDatabase.DatabaseName, rowsAffected);
355logger.LogInformation("Completed custom creation script batch {BatchNumber} execution {ExecutionNumber}/{ExecutionCount} for database '{DatabaseName}'", batchNumber, i + 1, executionCount, sqlDatabase.DatabaseName);
Aspire.Hosting.Testing.Tests (3)
Aspire.Hosting.Tests (97)
Aspire.Hosting.Valkey.Tests (2)
Aspire.Playground.Tests (8)
Aspire.TerminalHost (15)
Aspire.TerminalHost.Tests (2)
AzureFunctionsEndToEnd.Functions (4)
AzureFunctionsService (1)
AzureFunctionsWithDts.Functions (1)
AzureKusto.AppHost (1)
AzureKusto.Worker (3)
AzureSearch.ApiService (10)
BasketService (4)
CatalogDb (5)
Consumer (2)
CustomResources.AppHost (4)
dotnet-format (4)
dotnet-watch (3)
EventHubsConsumer (3)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
Microsoft.AspNetCore.InternalTesting (5)
Microsoft.AspNetCore.Server.IntegrationTesting (29)
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls (2)
Microsoft.AspNetCore.SpaProxy (4)
Microsoft.AspNetCore.SpaServices.Extensions (3)
Microsoft.CodeAnalysis.Rebuild (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
Microsoft.Diagnostics.NETCore.Client (20)
Microsoft.DotNet.HotReload.Watch (9)
Microsoft.Extensions.AI.Evaluation.Console (11)
Microsoft.Extensions.Diagnostics.Testing.Tests (9)
Microsoft.Extensions.Hosting (4)
Microsoft.Extensions.Hosting.Systemd (2)
Microsoft.Extensions.Hosting.WindowsServices (2)
Microsoft.Extensions.Telemetry.Tests (16)
Microsoft.ML.GenAI.Core (3)
Microsoft.NET.Build.Containers (17)
Registry\Registry.cs (13)
562_logger.LogInformation(Strings.Registry_LayerExists, digest);
591_logger.LogInformation(Strings.Registry_TagUploadStarted, tag, RegistryName);
593_logger.LogInformation(Strings.Registry_TagUploaded, tag, RegistryName);
613_logger.LogInformation(Strings.Registry_ManifestExists, builtImage.ManifestDigest, destination.Repository);
621_logger.LogInformation(Strings.Registry_LayerUploadStarted, digest, destinationRegistry.RegistryName);
624_logger.LogInformation(Strings.Registry_LayerExists, digest);
639_logger.LogInformation(Strings.Registry_LayerUploaded, digest, destinationRegistry.RegistryName);
666_logger.LogInformation(Strings.Registry_ConfigUploadStarted, configDigest);
668_logger.LogInformation(Strings.Registry_ConfigUploaded);
680_logger.LogInformation(Strings.Registry_TagUploadStarted, tag, RegistryName);
682_logger.LogInformation(Strings.Registry_TagUploaded, tag, RegistryName);
687_logger.LogInformation(Strings.Registry_ManifestUploadStarted, RegistryName, builtImage.ManifestDigest);
689_logger.LogInformation(Strings.Registry_ManifestUploaded, RegistryName);
Microsoft.TemplateEngine.Core (1)
Microsoft.TemplateEngine.Edge (5)
MilvusPlayground.ApiService (6)
Nats.Backend (1)
OrderProcessor (2)
Producer (2)
Qdrant.ApiService (1)
Seq.ApiService (1)
ServiceBusWorker (4)
Stress.ApiService (13)
Stress.AppHost (11)
InteractionCommands.cs (9)
136logger.LogInformation("Input: {Name} = {Value}", input.Name, input.Value);
187logger.LogInformation("Input: {Label} = {Value}", updatedInput.Label, updatedInput.Value);
273logger.LogInformation("Input: {Name} = {Value}", updatedInput.Name, updatedInput.Value);
493logger.LogInformation("Input: {Name} = {Value}", updatedInput.Name, updatedInput.Value);
599logger.LogInformation("Input: {Name} = {Value}", updatedInput.Name, value);
675logger.LogInformation("Input: {Name} = {Value}", input.Name, input.Value);
866logger.LogInformation("Azure provisioning: {Name} = {Value}", input.Name, input.Value);
1104logger.LogInformation("Imported configuration from '{FileName}' ({Size} bytes)", file.Name, content.Length);
1153logger.LogInformation("Installed certificate '{FileName}' ({Size} bytes)", file.Name, bytes.Length);
Stress.TelemetryService (2)
TestProject.WorkerA (1)
WebPubSubWeb (1)