848 references to LogInformation
aspire (73)
Backchannel\AppHostCliBackchannel.cs (2)
398logger.LogInformation("Backchannel disconnected: {Reason}. Attempting to reconnect...", args.Reason); 456logger.LogInformation("Successfully reconnected to backchannel");
Backchannel\AuxiliaryBackchannelMonitor.cs (4)
299logger.LogInformation("Starting auxiliary backchannel monitor for {CommandType}", command.GetType().Name); 319logger.LogInformation("Auxiliary backchannel monitor stopping"); 621logger.LogInformation("Disconnected from AppHost at {SocketPath}: {Reason}", socketPath, args.Reason); 632logger.LogInformation(
Bundles\BundleService.cs (1)
233logger.LogInformation("Extracting embedded bundle to {Path}...", destinationPath);
Certificates\CertificateGeneration\CertificateManager.cs (3)
1526_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); 1530_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); 1542_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);
Commands\AppHostLauncher.cs (1)
739logger.LogInformation("Child CLI process exited successfully before AppHost readiness was observed.");
Commands\RestoreCommand.cs (1)
227_logger.LogInformation(
Configuration\ConfigurationService.cs (3)
117logger.LogInformation("Found settings file at {Path}", newSettingsPath); 127logger.LogInformation("Found legacy settings file at {Path}", legacySettingsPath); 152logger.LogInformation("Migrating legacy settings from {LegacyDir} to {ConfigFile}", legacySettingsRootDirectory.FullName, aspireConfigPath);
ConsoleCancellationManager.cs (1)
286_logger.LogInformation("Termination signal received, requesting cancellation.");
Documentation\ApiDocs\ApiDocsIndexService.cs (2)
390_logger.LogInformation("Loaded {Count} API reference items from cache in {ElapsedTime:ss\\.fff} seconds.", cachedItems.Length, Stopwatch.GetElapsedTime(startTimestamp)); 406_logger.LogInformation("Indexed {Count} API reference items in {ElapsedTime:ss\\.fff} seconds.", itemArray.Length, Stopwatch.GetElapsedTime(startTimestamp));
Documentation\CachedHttpDocumentFetcher.cs (2)
72logger.LogInformation("Fetched content from {Url} after retry, length: {Length} chars", url, retryContent.Length); 87logger.LogInformation("Fetched content from {Url}, length: {Length} chars", url, content.Length);
Documentation\Docs\DocsIndexService.cs (2)
199_logger.LogInformation("Loaded {Count} documents from cache in {ElapsedTime:ss\\.fff} seconds.", indexedDocuments.Count, cacheElapsedTime); 214_logger.LogInformation("Indexed {Count} documents from aspire.dev in {ElapsedTime:ss\\.fff} seconds.", indexedDocumentsFromSource.Count, elapsedTime);
DotNet\DotNetCliRunner.cs (6)
1286logger.LogInformation("Adding package {PackageName} with version {PackageVersion} to project {ProjectFilePath}", packageName, packageVersion, projectFilePath.FullName); 1303logger.LogInformation("Package {PackageName} with version {PackageVersion} added to project {ProjectFilePath}", packageName, packageVersion, projectFilePath.FullName); 1315logger.LogInformation("Adding project {ProjectFilePath} to solution {SolutionFilePath}", projectFile.FullName, solutionFile.FullName); 1332logger.LogInformation("Project {ProjectFilePath} added to solution {SolutionFilePath}", projectFile.FullName, solutionFile.FullName); 1698logger.LogInformation("Adding project reference from {ProjectFile} to {ReferencedProject}", projectFile.FullName, referencedProject.FullName); 1715logger.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);
Packaging\PackagingService.cs (1)
459_logger.LogInformation(
Program.cs (10)
1170logger.LogInformation("Aspire CLI version: {Version}", AspireCliTelemetry.GetCliVersion()); 1171logger.LogInformation("Aspire CLI build ID: {BuildId}", AspireCliTelemetry.GetCliBuildId()); 1172logger.LogInformation("Aspire CLI path: {CliPath}", Environment.ProcessPath); 1175logger.LogInformation("Aspire CLI channel: {Channel}", channel); 1181logger.LogInformation("Working directory: {WorkingDirectory}", Environment.CurrentDirectory); 1184logger.LogInformation("Log file: {LogFilePath}", loggingOptions.LogFilePath); 1185logger.LogInformation("CLI process ID: {ProcessId}", Environment.ProcessId); 1269logger.LogInformation("Command: {CommandLine}", commandLine); 1306logger.LogInformation("Exit code: {ExitCode}", exitCode); 1314logger.LogInformation("Command cancelled. Exit code: {ExitCode}", exitCode);
Projects\AppHostServerClosureSnapshots.cs (2)
454_logger.LogInformation("Created AppHost project layout {LayoutFingerprint}", manifest.ProjectLayoutFingerprint); 519_logger.LogInformation("Discarding invalid AppHost project layout {LayoutFingerprint}", fingerprint);
Projects\DotNetAppHostProject.cs (2)
1472_logger.LogInformation("Aspire run isolated. Isolated UserSecretsId: {IsolatedUserSecretsId}", isolatedUserSecretsId); 2572_logger.LogInformation("No UserSecretsId found. Initializing user secrets for {Project}...", projectFile.Name);
Projects\GuestAppHostProject.cs (8)
254_logger.LogInformation("Loaded config from {Directory} (file exists: {Exists})", configDir.FullName, AspireConfigFile.Exists(configDir.FullName)); 981_logger.LogInformation( 1008_logger.LogInformation( 1017_logger.LogInformation( 1039StandardOutputCallback = line => _logger.LogInformation("[npm install: {Name}] {Line}", name, line), 1042_logger.LogInformation("Installing dependencies for integration host '{Name}': {Command} install (cwd: {Directory}).", name, npmPath, hostDir); 1080_logger.LogInformation("Installed dependencies for integration host '{Name}'; process scope cleanup completed.", name); 2027_logger.LogInformation("Generated {Count} {CodeGenerator} files in {Path} ({WrittenCount} changed)",
Projects\GuestRuntime.cs (1)
640_logger.LogInformation("Creating missing required file: {FileName}", fileName);
Projects\ProcessGuestLauncher.cs (1)
163_logger.LogInformation("Cancellation requested while waiting for {Language} guest process {ProcessId} to exit", _language, execution.ProcessId));
Projects\ProjectLocator.cs (2)
721logger.LogInformation("Found AppHost path '{AppHostPath}' from config file in {Directory}", configAppHostPath, searchDirectory.FullName); 1365logger.LogInformation("Migrating legacy settings from {LegacyDir} to {ConfigFile}", configRoot.FullName, settingsFile.FullName);
Projects\ProjectUpdater.cs (5)
44logger.LogInformation("No updates required for project: {ProjectFile}", projectFile.FullName); 469logger.LogInformation("App Host SDK is up to date."); 1224logger.LogInformation("Package '{PackageId}' is up to date.", packageId); 1246logger.LogInformation("Package '{PackageId}' not found in Directory.Packages.props, skipping.", packageId); 1262logger.LogInformation("Package '{PackageId}' is up to date.", packageId);
Aspire.Cli.Tests (11)
Interaction\SpectreConsoleLoggerProviderTests.cs (4)
55logger.LogInformation("Test info message"); 118logger.LogInformation("buffered while prompting"); 139logger.LogInformation("first"); 143logger.LogInformation("second");
Telemetry\AgentTelemetryPersistenceTests.cs (2)
117provider.EventLogger.LogInformation("reported-event"); 180logger.LogInformation("{EventName}", eventName);
Telemetry\LogRecordTagEnrichmentProcessorTests.cs (2)
48logger.LogInformation("Device {machine.device_id}", "event-device"); 93var logging = Task.Run(() => logger.LogInformation("test-event"));
tests\Shared\AsyncTestHelpers.cs (2)
196logger?.LogInformation("Start: {Message}", message); 207logger?.LogInformation("End: {Message}", message);
tests\Shared\Processes\ProcessSupervisorLoggerTests.cs (1)
18sender.LogInformation("Started '{Command}'.", "a \"quoted\" path");
Aspire.Dashboard (13)
Components\Pages\TraceDetail.razor.cs (3)
278Logger.LogInformation("Getting trace '{TraceId}'.", traceId); 288Logger.LogInformation("Couldn't find trace '{TraceId}'.", traceId); 325Logger.LogInformation("Trace '{TraceId}' has {SpanCount} spans.", trace.TraceId, trace.Spans.Count);
DashboardWebApplication.cs (4)
494_logger.LogInformation("Now listening on: {DashboardUri}", frontendEndpointInfo.GetResolvedAddress()); 500_logger.LogInformation("OTLP/gRPC listening on: {OtlpEndpointUri}", _otlpServiceGrpcEndPointAccessor().GetResolvedAddress()); 505_logger.LogInformation("OTLP/HTTP listening on: {OtlpEndpointUri}", _otlpServiceHttpEndPointAccessor().GetResolvedAddress()); 684logger.LogInformation("Aspire dashboard version: {Version}", informationalVersion);
Otlp\Storage\SqliteTelemetryRepository.Metrics.Writes.cs (2)
79_otlpContext.Logger.LogInformation( 141_otlpContext.Logger.LogInformation("Error adding {MetricType} metrics. {MetricType} is not supported.", metric.DataCase, metric.DataCase);
ServiceClient\DashboardRunStore.cs (1)
176_logger.LogInformation(
src\Shared\LoggingHelpers.cs (3)
43logger.LogInformation("Login to the dashboard at {LoginUrl}", loginUrl); 82logger.LogInformation(templateBuilder.ToString(), parameters.ToArray()); 86logger.LogInformation("Dashboard is running in a container. Access the dashboard from the host using port forwarding.");
Aspire.Dashboard.Components.Tests (39)
Pages\ConsoleLogsTests.cs (30)
48logger.LogInformation($"Requesting logs for: {name}"); 99logger.LogInformation($"Requesting logs for: {name}"); 128logger.LogInformation("Waiting for selected resource."); 135logger.LogInformation("Waiting for finish message."); 154logger.LogInformation("Changing resource."); 161logger.LogInformation("Waiting for selected resource."); 351logger.LogInformation("Resource and subscription should be set immediately on first render."); 358logger.LogInformation("Log results are added to log viewer."); 528logger.LogInformation("Resource and subscription should be set immediately on first render."); 535logger.LogInformation("Throw error from console logs subscription."); 577logger.LogInformation("Resource and subscription should be set immediately on first render."); 586logger.LogInformation("Throw error from console logs subscription."); 624logger.LogInformation("Waiting for selected resource."); 628logger.LogInformation("Log results are added to log viewer."); 636logger.LogInformation("Clear current entries."); 653logger.LogInformation("New log results are added to log viewer."); 730logger.LogInformation("Waiting for selected resource."); 734logger.LogInformation("Log results are added to log viewer."); 746logger.LogInformation("New log results are added to log viewer."); 994logger.LogInformation("Check logs are empty."); 998logger.LogInformation("Pause logs."); 1015logger.LogInformation("Wait for pause log."); 1018logger.LogInformation("Adding filtered logs during pause."); 1025logger.LogInformation("Assert that the only log is still the pause log."); 1037logger.LogInformation("Resume logs."); 1049logger.LogInformation("Assert that pause log has expected content."); 1067logger.LogInformation("Write a new log after resume."); 1071logger.LogInformation("Assert that log entries discarded aren't in log viewer and log entries that should be logged are in log viewer."); 1085logger.LogInformation($"Log entries count: {logEntries.EntriesCount}"); 1089logger.LogInformation($"Log line. Type = {logEntry.Type}, Raw content = {logEntry.RawContent ?? "no content"}, Pause content: {logEntry.Pause?.GetDisplayText(loc, browserTimeProvider) ?? "n/a"}");
Pages\TraceDetailsTests.cs (7)
254logger.LogInformation($"Assert row count for '{traceId}'"); 268logger.LogInformation($"Assert row count for '{traceId}'"); 322logger.LogInformation($"Assert row count for '{traceId}'"); 349logger.LogInformation($"Assert updated row count for '{traceId}'"); 404logger.LogInformation($"Assert row count for '{traceId}'"); 412logger.LogInformation($"Adding span for difference trace"); 432logger.LogInformation($"Assert not updated for '{traceId}'");
tests\Shared\AsyncTestHelpers.cs (2)
196logger?.LogInformation("Start: {Message}", message); 207logger?.LogInformation("End: {Message}", message);
Aspire.Dashboard.Playwright.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
196logger?.LogInformation("Start: {Message}", message); 207logger?.LogInformation("End: {Message}", message);
Aspire.Dashboard.Tests (27)
Integration\OtlpGrpcServiceTests.cs (6)
177logger.LogInformation("Writing original JSON file."); 209logger.LogInformation("Options changed."); 226logger.LogInformation("Writing new JSON file."); 229logger.LogInformation("Waiting for options change."); 232logger.LogInformation("Assert new API key."); 236logger.LogInformation("Client sends new request with old API key.");
Integration\ServerRetryHelper.cs (6)
100logger.LogInformation("Searching for free port starting at {nextPortAttempt}.", nextPortAttempt); 115logger.LogInformation("Found {count} unavailable endpoints.", unavailableEndpoints.Count); 129logger.LogInformation("Port {port} in use. End point: {match}", port, match); 138logger.LogInformation("Port {port} free and verified.", port); 143logger.LogInformation("Port {port} appeared free but failed to bind. Continuing search.", port); 173logger.LogInformation("Port {port} bind check failed: address already in use.", port);
Telemetry\DashboardTelemetryLogExportTests.cs (3)
64frameworkLogger.LogInformation("Ordinary framework log"); 69otherEventLogger.LogInformation("Wrong event category"); 73eventLogger.LogInformation("Ordinary product-category log");
Telemetry\DashboardTelemetryServiceTests.cs (2)
183loggerFactory.CreateLogger(DashboardTelemetryService.EventLogCategoryName + ".Other").LogInformation("Other event"); 184loggerFactory.CreateLogger("Aspire.Dashboard.Other").LogInformation("Other category");
Telemetry\TagEnrichmentProcessorTests.cs (2)
70logger.LogInformation("Value {allowed.default}", "event-value"); 105factory.CreateLogger("test-events").LogInformation("test-event");
Telemetry\TelemetryLoggerProviderTests.cs (1)
66circuitHostLogger.LogInformation("Test log message");
TelemetryRepositoryTests\LogTests.cs (5)
984logger.LogInformation("Writing log 1"); 1004logger.LogInformation("Received log 1 callback"); 1006logger.LogInformation("Writing log 2"); 1025logger.LogInformation("Received log 2 callback"); 1028logger.LogInformation("Elapsed time: {Elapsed}", elapsed);
tests\Shared\AsyncTestHelpers.cs (2)
196logger?.LogInformation("Start: {Message}", message); 207logger?.LogInformation("End: {Message}", message);
Aspire.Hosting (72)
ApplicationModel\CertificateTrustExecutionConfigurationGatherer.cs (2)
82resourceLogger.LogInformation("No custom certificate authorities to configure for '{ResourceName}'. Default certificate authority trust behavior will be used.", resource.Name); 126resourceLogger.LogInformation("Resource '{ResourceName}' has a certificate trust scope of '{Scope}'. Automatically including system root certificates in the trusted configuration.", resource.Name, Enum.GetName(additionalData.Scope));
ApplicationModel\CommandsConfigurationExtensions.cs (2)
449logger.LogInformation(BuildLogPrefix + "{Message}", message); 480targetLogger.LogInformation(BuildLogPrefix + "{Content}", line.Content);
ApplicationModel\LogFacade.cs (1)
35_loggerAccessor().LogInformation(message);
ApplicationModel\ResourceCommandService.cs (4)
330logger.LogInformation("Executing command '{CommandName}'.", commandName); 383logger.LogInformation("Successfully executed command '{CommandName}'.", commandName); 393logger.LogInformation("Failure executing command '{CommandName}'. Error message: {ErrorMessage}", commandName, result.Message); 409logger.LogInformation("Command '{CommandName}' not available.", commandName);
ApplicationModel\ResourceExtensions.cs (6)
668logger.LogInformation("Waiting for value from resource '{ResourceName}'", providerResource.Name); 672logger.LogInformation("Waiting for value for environment variable value '{Name}' from resource '{ResourceName}'", key, providerResource.Name); 677logger.LogInformation("Waiting for value for connection string from resource '{ResourceName}'", cs.Name); 681logger.LogInformation( 691logger.LogInformation("Waiting for value from {ValueProvider}.", valueProvider.ToString()); 695logger.LogInformation("Waiting for value for environment variable value '{Name}' from {ValueProvider}.", key, valueProvider.ToString());
ApplicationModel\ResourceNotificationService.cs (7)
159resourceLogger.LogInformation("Waiting for resource '{ResourceName}' to become healthy.", displayName); 169resourceLogger.LogInformation("Waiting for resource ready to execute for '{ResourceName}'.", displayName); 180resourceLogger.LogInformation("Finished waiting for resource '{ResourceName}'.", displayName); 336resourceLogger.LogInformation("Waiting for resource '{ResourceName}' to complete.", dependency.Name); 388resourceLogger.LogInformation("Finished waiting for resource '{ResourceName}'.", displayName); 405resourceLogger.LogInformation("Waiting for resource '{ResourceName}' to enter the '{State}' state.", dependency.Name, KnownResourceStates.Running); 487resourceLogger.LogInformation("Finished waiting for resource '{ResourceName}' to start.", displayName);
Ats\LoggingExports.cs (1)
34logger.LogInformation("{Message}", message);
Dashboard\DashboardEventHandlers.cs (2)
231distributedApplicationLogger.LogInformation("Generating a dynamic url for dashboard. If you want a consistent url, configure `ASPNETCORE_URLS`"); 380distributedApplicationLogger.LogInformation("Now listening on: {DashboardUrl}", dashboardUrl.TrimEnd('/'));
Dcp\DcpHost.cs (1)
330_logger.LogInformation("Starting DCP with arguments: {Arguments}", dcpProcessSpec.Arguments);
Devcontainers\DevcontainerSettingsWriter.cs (1)
200logger.LogInformation("Port forwarding ({label}): {Url}", label, url);
DistributedApplicationLifecycle.cs (4)
33logger.LogInformation("Distributed application started. Press Ctrl+C to shut down."); 48logger.LogInformation("Aspire AppHost version: {Version}", informationalVersion); 53logger.LogInformation("Distributed application starting."); 54logger.LogInformation("Application host directory is: {AppHostDirectory}", configuration["AppHost:Directory"]);
Lifecycle\TerminalHostOrphanCleanupService.cs (3)
370logger.LogInformation( 428logger.LogInformation( 468logger.LogInformation(
Orchestrator\ParameterProcessor.cs (9)
569logger.LogInformation("Parameter value deleted from deployment state for {ParameterName}.", parameterResource.Name); 572.LogInformation("Parameter resource {ResourceName} value has been deleted from user secrets.", parameterResource.Name); 576logger.LogInformation("Parameter value cleared for {ParameterName} (not deleted from user secrets).", parameterResource.Name); 579.LogInformation("Parameter resource {ResourceName} value has been cleared.", parameterResource.Name); 640.LogInformation("Parameter resource {ResourceName} has been resolved via {ResolutionSource}.", parameterResource.Name, resolutionSource); 653logger.LogInformation("Parameter value saved to deployment state for {ParameterName}.", parameterResource.Name); 817logger.LogInformation("Parameter values saved to deployment state."); 914logger.LogInformation("Parameter value deleted from deployment state for {ParameterName}.", parameter.Name); 925logger.LogInformation("{SavedCount} parameter values saved to deployment state.", savedCount);
Pipelines\DistributedApplicationPipeline.cs (5)
73context.Logger.LogInformation("Initializing deployment for environment '{EnvironmentName}'", hostEnvironment.EnvironmentName); 80context.Logger.LogInformation("Deployment state will be loaded from: {StateFilePath}", stateFilePath); 105context.Logger.LogInformation("User declined to clear deployment state. Canceling pipeline execution."); 110context.Logger.LogInformation("Clearing deployment state due to --clear-cache flag."); 120context.Logger.LogInformation("Setting default deploy tag '{Tag}' for compute resource(s).", uniqueDeployTag);
Pipelines\Internal\DeploymentStateManagerBase.cs (1)
384logger.LogInformation("Deployment state cleared: {Path}", stateFilePath);
Pipelines\Internal\FileDeploymentStateManager.cs (2)
314logger.LogInformation("Skipping deployment state save due to --clear-cache flag"); 423logger.LogInformation("Deployment state cleared: {Path}", currentStatePath);
Pipelines\Internal\UserSecretsDeploymentStateManager.cs (1)
43logger.LogInformation("Azure resource connection strings saved to user secrets.");
Pipelines\PipelineStepHelpers.cs (1)
41context.Logger.LogInformation("Skipping push for resource '{ResourceName}' - destination is {Destination}, not Registry",
Publishing\ContainerRuntimeBase.cs (3)
372_logger.LogInformation("{RuntimeName} login to {RegistryServer} succeeded.", Name, registryServer); 418_logger.LogInformation(successLogTemplate, logArguments); 651_logger.LogInformation("Using container runtime '{Runtime}' for compose operations.", RuntimeExecutable);
Publishing\ContainerRuntimeResolver.cs (2)
72_logger.LogInformation("Container runtime '{RuntimeKey}' configured via ASPIRE_CONTAINER_RUNTIME.", configuredRuntime); 83_logger.LogInformation("Container runtime auto-detected: {RuntimeName} ({Executable}).", detected.Name, detected.Executable);
Publishing\ManifestPublisher.cs (1)
61_logger.LogInformation("Published manifest to: {ManifestPath}", fullyQualifiedPath);
Publishing\ManifestPublishingExtensions.cs (1)
71logger.LogInformation("Published manifest to: {ManifestPath}", fullyQualifiedPath);
Publishing\ResourceContainerImageManager.cs (7)
300logger.LogInformation("Starting to build container images"); 382logger.LogInformation("Building container image for resource {ResourceName}", resource.Name); 433logger.LogInformation("Building container image for resource {ResourceName}", resource.Name); 456logger.LogInformation("Building image: {ResourceName}", resource.Name); 498logger.LogInformation("Building image for {ResourceName} completed", resource.Name); 941logger.LogInformation("Building image: {ResourceName}", resource.Name); 997logger.LogInformation("Building image for {ResourceName} completed", resource.Name);
src\Shared\LoggingHelpers.cs (3)
43logger.LogInformation("Login to the dashboard at {LoginUrl}", loginUrl); 82logger.LogInformation(templateBuilder.ToString(), parameters.ToArray()); 86logger.LogInformation("Dashboard is running in a container. Access the dashboard from the host using port forwarding.");
Utils\DockerfileHelper.cs (1)
46logger.LogInformation(
Utils\FileSystemService.cs (1)
101_logger?.LogInformation("Skipping cleanup of {Count} temporary files/directories due to ASPIRE_PRESERVE_TEMP_FILES configuration", _allocatedItems.Count);
Aspire.Hosting.Azure (38)
AzureEnvironmentResource.cs (2)
323context.Logger.LogInformation(" {Type}: {Name}", shortType, name); 367context.Logger.LogInformation("User canceled the destroy operation.");
AzureProvisioningController.cs (20)
1733_logger.LogInformation("Azure provisioning state reset for {Count} Azure resources.", azureResources.Count); 1749_logger.LogInformation("Azure provisioning state reset for resource {ResourceName}.", intent.ResourceName); 1841_logger.LogInformation("Azure deployment state reset without deleting a resource group because no Azure resource group was configured."); 1845_logger.LogInformation("Azure resource group {ResourceGroup} was deleted or was already absent.", resourceGroupName); 1876_logger.LogInformation("Azure resource group {ResourceGroup} was already absent.", resourceGroupName); 2078_logger.LogInformation( 2148_logger.LogInformation("Deleted {Count} Azure resource(s) for resource {ResourceName}.", resourceIds.Count, intent.ResourceName); 2873resourceLogger.LogInformation("Cancellation requested for Azure deployment {DeploymentId}.", deploymentId); 2881resourceLogger.LogInformation("Azure deployment {DeploymentId} was already absent or no longer active during cancellation.", deploymentId); 2971_logger.LogInformation("Deleting Azure resource {ResourceId} for {ResourceName}.", resourceId, resourceName); 3014_logger.LogInformation("Purged deleted Azure Key Vault {ResourceId} in {Location} for {ResourceName}.", resourceId, keyVaultLocation, resourceName); 3021_logger.LogInformation("Deleted Azure Key Vault {ResourceId} was not found in {Location} while purging for {ResourceName}.", resourceId, keyVaultLocation, resourceName); 3475_logger.LogInformation( 3488_logger.LogInformation( 3923resourceLogger.LogInformation("Skipping {resourceName} because it is not a Bicep resource.", resource.AzureResource.Name); 3932resourceLogger.LogInformation("Skipping {resourceName} because it is not configured to be provisioned.", resource.AzureResource.Name); 3960resourceLogger.LogInformation("Using connection information stored in user secrets for {resourceName}.", resource.AzureResource.Name); 3967resourceLogger.LogInformation("Resolving {resourceName} as existing resource...", resource.AzureResource.Name); 3971resourceLogger.LogInformation("Provisioning {resourceName}...", resource.AzureResource.Name); 4187loggerService.GetLogger(azureEnvironmentResource).LogInformation("Azure provisioning state has been reset.");
AzurePublishingContext.cs (1)
106Logger.LogInformation("No resources found in the model");
Provisioning\Internal\BaseProvisioningContextProvider.cs (5)
104_logger.LogInformation("Default subscription: {name} ({subscriptionId})", subscriptionResource.DisplayName, subscriptionResource.Id); 105_logger.LogInformation("Tenant: {tenantId}", tenantResource.TenantId); 158_logger.LogInformation("Using existing resource group {rgName}.", resourceGroup.Name); 169_logger.LogInformation("Creating resource group {rgName} in {location}...", resourceGroupName, location); 185_logger.LogInformation("Resource group {rgName} created.", resourceGroup.Name);
Provisioning\Internal\DefaultTokenCredentialProvider.cs (1)
79_logger.LogInformation("Using {credentialType} for provisioning.", credential.GetType().Name);
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (1)
396_logger.LogInformation("Using location {location} from existing resource group {resourceGroup}", _options.Location, selectedResourceGroup);
Provisioning\Provisioners\BicepProvisioner.cs (8)
216logger.LogInformation("Cached Azure deployment {DeploymentId} for {ResourceName} no longer exists. Reprovisioning.", deploymentId, resource.Name); 238logger.LogInformation("Cached Azure deployment {DeploymentId} for {ResourceName} no longer exists after reconciliation started. Reprovisioning.", deploymentId, resource.Name); 591resourceLogger.LogInformation("Deploying {Name} to {DeploymentTarget}", resource.Name, deploymentTargetName); 682resourceLogger.LogInformation("Deployment started: {Url}", url); 759resourceLogger.LogInformation("Deployment of {Name} to {DeploymentTarget} took {Elapsed}", resource.Name, deploymentTargetName, sw.Elapsed); 901logger.LogInformation("Azure deployment {DeploymentId} for {ResourceName} is already active. Waiting for the existing deployment to complete.", deploymentId, resource.Name); 1294resourceLogger.LogInformation("Cancellation requested for Azure deployment {DeploymentName}.", deploymentName); 1300resourceLogger.LogInformation("Azure deployment {DeploymentName} was already absent or no longer active during cancellation.", deploymentName);
Aspire.Hosting.Azure.AppContainers (2)
ContainerAppEnvironmentContext.cs (2)
58Logger.LogInformation( 65Logger.LogInformation(
Aspire.Hosting.Azure.AppService (1)
AzureAppServiceEnvironmentContext.cs (1)
56Logger.LogInformation(
Aspire.Hosting.Azure.Kubernetes (6)
AzureKubernetesEnvironmentResource.AksPipeline.cs (6)
51logger.LogInformation("Processing AKS environment '{Name}'", Name); 286context.Logger.LogInformation( 303context.Logger.LogInformation( 328context.Logger.LogInformation( 636context.Logger.LogInformation( 702logger.LogInformation(
Aspire.Hosting.Azure.Kusto (2)
AzureKustoBuilderExtensions.cs (2)
299logger.LogInformation("Executing custom creation script for database '{DatabaseName}'", databaseResource.DatabaseName); 306logger.LogInformation("Completed custom creation script for database '{DatabaseName}'", databaseResource.DatabaseName);
Aspire.Hosting.Azure.Kusto.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
196logger?.LogInformation("Start: {Message}", message); 207logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.Azure.Sandboxes (2)
Internal\Adc\AzureDevComputeClient.cs (2)
362logger.LogInformation("ADC request {Method} {Path} returned a transient HTTP response. Retrying after {Delay}.", method.Method, path, delay); 431logger.LogInformation("Sending ADC request: {Method} {Path}", method.Method, uri.PathAndQuery);
Aspire.Hosting.Blazor.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
196logger?.LogInformation("Start: {Message}", message); 207logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.Browsers (10)
BrowserHostRegistry.cs (3)
85_logger.LogInformation("Reusing tracked browser host '{BrowserExecutable}' at '{Endpoint}'. Active leases: {ReferenceCount}.", identity.ExecutablePath, FormatDebugEndpoint(entry.Host.DebugEndpoint), entry.ReferenceCount); 303_logger.LogInformation("Adopting tracked browser host '{BrowserExecutable}' at '{Endpoint}'.", identity.ExecutablePath, endpoint); 308_logger.LogInformation("Starting tracked browser host '{BrowserExecutable}' with a private CDP pipe.", identity.ExecutablePath);
BrowserLogsEventLogger.cs (1)
257_resourceLogger.LogInformation("{Message}", sessionMessage);
BrowserLogsRunningSession.cs (4)
211_resourceLogger.LogInformation( 234_resourceLogger.LogInformation( 258_resourceLogger.LogInformation( 270_resourceLogger.LogInformation("[{SessionId}] Tracking browser console logs for '{Url}'.", _sessionId, _url);
BrowserLogsSessionManager.cs (2)
92resourceLogger.LogInformation("[{SessionId}] Opening tracked browser for '{Url}' using '{Browser}'.", sessionId, url, configuration.Browser); 224_resourceLoggerService.GetLogger(resourceName).LogInformation(
Aspire.Hosting.Browsers.Tests (12)
src\Aspire.Hosting.Browsers\BrowserHostRegistry.cs (3)
85_logger.LogInformation("Reusing tracked browser host '{BrowserExecutable}' at '{Endpoint}'. Active leases: {ReferenceCount}.", identity.ExecutablePath, FormatDebugEndpoint(entry.Host.DebugEndpoint), entry.ReferenceCount); 303_logger.LogInformation("Adopting tracked browser host '{BrowserExecutable}' at '{Endpoint}'.", identity.ExecutablePath, endpoint); 308_logger.LogInformation("Starting tracked browser host '{BrowserExecutable}' with a private CDP pipe.", identity.ExecutablePath);
src\Aspire.Hosting.Browsers\BrowserLogsEventLogger.cs (1)
257_resourceLogger.LogInformation("{Message}", sessionMessage);
src\Aspire.Hosting.Browsers\BrowserLogsRunningSession.cs (4)
211_resourceLogger.LogInformation( 234_resourceLogger.LogInformation( 258_resourceLogger.LogInformation( 270_resourceLogger.LogInformation("[{SessionId}] Tracking browser console logs for '{Url}'.", _sessionId, _url);
src\Aspire.Hosting.Browsers\BrowserLogsSessionManager.cs (2)
92resourceLogger.LogInformation("[{SessionId}] Opening tracked browser for '{Url}' using '{Browser}'.", sessionId, url, configuration.Browser); 224_resourceLoggerService.GetLogger(resourceName).LogInformation(
tests\Shared\AsyncTestHelpers.cs (2)
196logger?.LogInformation("Start: {Message}", message); 207logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.Containers.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
196logger?.LogInformation("Start: {Message}", message); 207logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.DevTunnels (15)
DevTunnelLoginManager.cs (2)
77_logger.LogInformation("Initiating dev tunnel login via {LoginProvider}", selectedProvider); 83_logger.LogInformation("User logged in to dev tunnel service as {Username} with {Provider}", loginStatus.Username, loginStatus.Provider);
DevTunnelResourceBuilderExtensions.cs (7)
140logger.LogInformation("Ensuring user is logged in to dev tunnel service"); 147logger.LogInformation("Ensuring dev tunnel '{TunnelId}' is configured", 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("Configured dev tunnel port '{Port}' on tunnel '{Tunnel}' targeting endpoint '{Endpoint}' on resource '{TargetResource}'", tunnelPort, portResource.DevTunnel.TunnelId, portResource.TargetEndpoint.EndpointName, portResource.TargetEndpoint.Resource.Name); 759.LogInformation("Forwarding from {PortUrl} to {TargetUrl} ({TargetResourceName}/{TargetEndpointName})", 830services.GetRequiredService<ResourceLoggerService>().GetLogger(portResource).LogInformation("Port forwarding stopped");
IDevTunnelClient.cs (6)
119logger?.LogInformation("!! Anonymous access is allowed (inherited from tunnel) !!"); 125logger?.LogInformation("Anonymous access is not allowed (tunnel allows it but port explicitly denies it)"); 131logger?.LogInformation("!! Anonymous access is allowed (port explicitly allows it) !!"); 137logger?.LogInformation("Anonymous access is not allowed (tunnel does not allow it and port explicitly denies it)"); 143logger?.LogInformation("!! Anonymous access is allowed (tunnel allows it and port allows it) !!"); 149logger?.LogInformation("Anonymous access is not allowed (tunnel does not allow it and port does not explicitly allow or deny it)");
Aspire.Hosting.DevTunnels.Tests (3)
DevTunnelMonitorTests.cs (1)
93.LogInformation(DevTunnelMonitor.DiagnosticPrefix + "Log capture boundary.");
tests\Shared\AsyncTestHelpers.cs (2)
196logger?.LogInformation("Start: {Message}", message); 207logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.Docker (3)
DockerComposeEnvironmentContext.cs (1)
19logger.LogInformation("Creating Docker Compose resource for {ResourceName}", resource.Name);
DockerComposeEnvironmentResource.cs (1)
538context.Logger.LogInformation("User canceled the destroy operation.");
EnvFile.cs (1)
206_logger?.LogInformation("Environment file '{EnvFilePath}' already exists and will be overwritten", _path);
Aspire.Hosting.Dotnet.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
196logger?.LogInformation("Start: {Message}", message); 207logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.DotnetTool.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
196logger?.LogInformation("Start: {Message}", message); 207logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.EntityFrameworkCore (14)
EFCoreOperationExecutor.cs (7)
613_logger.LogInformation("Updating database..."); 619_logger.LogInformation("Dropping database..."); 646_logger.LogInformation("Creating migration with name: {MigrationName}", migrationName); 668_logger.LogInformation("Removing last migration..."); 677_logger.LogInformation("Getting migration status..."); 779_logger.LogInformation("Generating migration script..."); 810_logger.LogInformation("Generating migration bundle...");
EFResourceBuilderExtensions.cs (7)
461logger.LogInformation("Generating {Operation} for '{ResourceName}'...", operationName, migrationResource.Name); 473logger.LogInformation("{Operation} generated successfully for '{ResourceName}'.", operationName, migrationResource.Name); 901logger.LogInformation("EF Core {Operation} command completed successfully.", operationDisplayName); 941logger.LogInformation("Executing EF Core {Operation} command...", operationDisplayName); 1009logger.LogInformation("Migration '{MigrationName}' created successfully.", migrationName); 1051logger.LogInformation("Migration removed successfully."); 1108logger.LogInformation("Database status:\n{Status}", result.Output);
Aspire.Hosting.Foundry (12)
FoundryExtensions.cs (4)
364logger.LogInformation("Foundry Local could not be started. Ensure it's installed correctly: https://learn.microsoft.com/azure/ai-foundry/foundry-local/get-started (Error: {Error}).", e.Message); 436logger.LogInformation("Model {Model} is loaded ({ModelId}).", model, deployment.LocalModelId); 455logger.LogInformation("Failed to start {Model}. Error: {Error}", model, e.Message); 475logger.LogInformation("Downloading model {Model}: {Progress:F2}%", model, progress);
FoundryLocalService.cs (3)
227logger.LogInformation("{Output}", line); 289logger.LogInformation("{Output}", e.Data); 301logger.LogInformation("{Output}", e.Data);
HostedAgent\AzureHostedAgentResource.cs (1)
279context.Logger.LogInformation("Assigned Foundry User role to hosted agent '{Name}' identity '{PrincipalId}'.", Name, principalId);
PromptAgent\AzurePromptAgentResource.cs (2)
349logger.LogInformation("Deploying prompt agent '{AgentName}' to Foundry project '{ProjectName}'...", Name, Project.Name); 354logger.LogInformation("Successfully deployed prompt agent '{AgentName}' (version {Version})", Name, version.Version);
Toolbox\FoundryToolboxResource.cs (2)
366logger.LogInformation( 373logger.LogInformation(
Aspire.Hosting.Foundry.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
196logger?.LogInformation("Start: {Message}", message); 207logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.Java (1)
JavaHostingExtensions.cs (1)
1688resourceLoggerService.GetLogger(ctx.Resource).LogInformation(
Aspire.Hosting.JavaScript.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
196logger?.LogInformation("Start: {Message}", message); 207logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.Kafka.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
196logger?.LogInformation("Start: {Message}", message); 207logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.Kubernetes (24)
CertManagerExtensions.cs (5)
441context.Logger.LogInformation( 485context.Logger.LogInformation("ClusterIssuer '{IssuerName}' applied.", issuer.Name); 503context.Logger.LogInformation( 512context.Logger.LogInformation( 556context.Logger.LogInformation("ClusterIssuer '{IssuerName}' deleted.", issuer.Name);
Deployment\HelmDeploymentEngine.cs (4)
192ctx.Logger.LogInformation( 532context.Logger.LogInformation("Resource {ResourceName}: {Endpoints}", computeResource.Name, endpointText); 662context.Logger.LogInformation( 697context.Logger.LogInformation("User canceled the destroy operation.");
KubernetesEnvironmentContext.cs (1)
22logger.LogInformation("Creating Kubernetes resource for {ResourceName}", resource.Name);
KubernetesEnvironmentResource.cs (9)
1469context.Logger.LogInformation( 1491context.Logger.LogInformation( 1612context.Logger.LogInformation("TLS secret '{SecretName}' already exists, skipping bootstrap.", secretName); 1617context.Logger.LogInformation("Creating bootstrap TLS secret '{SecretName}' for '{Hostname}'.", secretName, hostname); 1661context.Logger.LogInformation( 1989context.Logger.LogInformation( 2249context.Logger.LogInformation("TLS secret '{SecretName}' already exists, skipping bootstrap.", secretName); 2254context.Logger.LogInformation("Creating bootstrap TLS secret '{SecretName}' for '{Hostname}'.", secretName, hostname); 2298context.Logger.LogInformation("Bootstrap TLS secret '{SecretName}' created for '{Hostname}'. Replace with a real cert via cert-manager or manually.", secretName, hostname);
KubernetesHelmChartExtensions.cs (5)
288logger.LogInformation( 375logger.LogInformation( 389context.Logger.LogInformation( 416logger.LogInformation( 458logger.LogInformation(
Aspire.Hosting.Maui (8)
Lifecycle\MauiBuildQueueEventSubscriber.cs (5)
111logger.LogInformation("Queued — waiting for another build of project '{ProjectName}' to complete.", parent.Name); 123logger.LogInformation("Building project '{ProjectName}' for {ResourceName}.", parent.Name, resource.Name); 152logger.LogInformation("Build cancelled for resource '{ResourceName}'.", resource.Name); 212logger.LogInformation("Running: dotnet {Arguments}", string.Join(" ", args)); 256logger.LogInformation("Build succeeded for resource '{ResourceName}'.", resource.Name);
MauiOtlpExtensions.cs (1)
153.LogInformation(
Utilities\MauiAndroidEnvironmentAnnotation.cs (1)
93logger.LogInformation("Generated environment targets file for Android: {Path}", generatedFilePath);
Utilities\MauiiOSEnvironmentAnnotation.cs (1)
93logger.LogInformation("Generated environment targets file for iOS: {Path}", generatedFilePath);
Aspire.Hosting.Maui.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
196logger?.LogInformation("Start: {Message}", message); 207logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.MongoDB (10)
MongoDBSingleMemberReplicaSet.cs (1)
69evt.Logger.LogInformation("MongoDB resource '{ResourceName}' is the primary of single-member replica set '{ReplicaSetName}'.", resource.Name, annotation.Name);
ReplicaSet\MongoDBReplicaSetBuilderExtensions.cs (9)
181logger.LogInformation("Retrieving MongoDB replica set information ({ResourceName}) from member '{MemberName}'", resource.Name, memberConnection.Resource.Name); 210logger.LogInformation("MongoDB replica set member '{MemberName}' is not accepting connections yet", memberConnection.Resource.Name); 249logger.LogInformation("MongoDB replica set resource '{ResourceName}' is already configured as declared — leaving it as it is", resource.Name); 254logger.LogInformation("Re-configuring MongoDB replica set resource '{ResourceName}' from member '{MemberName}' — last version {Version}", resource.Name, existing.Connection.Resource.Name, existing.Version); 282logger.LogInformation("Reconfiguring the replica set failed: {Reason}", ex.Message); 297logger.LogInformation("Initializing MongoDB replica set resource '{ResourceName}'", resource.Name); 331logger.LogInformation("Initiating the replica set failed: {Reason}", initiateEx.Message); 335logger.LogInformation("MongoDB replica set member '{MemberName}' stopped accepting connections before initialization completed", initialPrimary.Resource.Name); 341logger.LogInformation("MongoDB replica set configuration retry attempt {Current}/{Max} will begin after {WaitIntervalSeconds} seconds", retries + 1, MaxRetriesAttempt, s_rsInitiationRetryWaitInterval.TotalSeconds);
Aspire.Hosting.MySql (3)
MySqlBuilderExtensions.cs (3)
217logger.LogInformation("Executing custom creation script for database '{DatabaseName}'", sqlDatabase.DatabaseName); 225logger.LogInformation("Completed custom creation script for database '{DatabaseName}' ({RowsAffected} rows affected)", sqlDatabase.DatabaseName, rowsAffected); 229logger.LogInformation("Completed custom creation script for database '{DatabaseName}'", sqlDatabase.DatabaseName);
Aspire.Hosting.MySql.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
196logger?.LogInformation("Start: {Message}", message); 207logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.OpenAI.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
196logger?.LogInformation("Start: {Message}", message); 207logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.PostgreSQL (3)
PostgresBuilderExtensions.cs (3)
821logger.LogInformation("Executing custom creation script for database '{DatabaseName}'", npgsqlDatabase.DatabaseName); 832logger.LogInformation("Completed custom creation script for database '{DatabaseName}' ({RowsAffected} rows affected)", npgsqlDatabase.DatabaseName, rowsAffected); 836logger.LogInformation("Completed custom creation script for database '{DatabaseName}'", npgsqlDatabase.DatabaseName);
Aspire.Hosting.PostgreSQL.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
196logger?.LogInformation("Start: {Message}", message); 207logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.Python (1)
PythonAppResourceBuilderExtensions.cs (1)
409logger.LogInformation("Certificate trust scope is set to 'Append', but Python resources do not support appending to the default certificate authorities; only OTLP certificate trust will be applied.");
Aspire.Hosting.RabbitMQ.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
196logger?.LogInformation("Start: {Message}", message); 207logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.Radius (18)
Publishing\RadCredentialRegisterStep.cs (2)
279logger.LogInformation("rad (stdout): {Output}", RedactSecretValues(e.Data, secretValues)); 293logger.LogInformation("Running: rad {Args}", string.Join(' ', redactedArgs));
Publishing\RadiusBicepPublishingContext.cs (5)
53logger.LogInformation( 74logger.LogInformation( 102logger.LogInformation( 147logger.LogInformation( 181logger.LogInformation("Copied SealedSecret manifest to {Destination}", destination);
Publishing\RadiusDeploymentPipelineStep.cs (7)
221logger.LogInformation( 518logger.LogInformation("rad CLI detected on PATH for environment '{EnvironmentName}'", _environment.Name); 531logger.LogInformation("Starting rad deploy with Bicep file '{BicepPath}'", bicepPath); 573logger.LogInformation("Running: rad {Args}", string.Join(' ', process.StartInfo.ArgumentList)); 579logger.LogInformation("rad (stdout): {Output}", e.Data); 622logger.LogInformation("rad deploy exited with code {ExitCode} for environment '{EnvironmentName}'", exitCode, _environment.Name); 720logger.LogInformation(
Publishing\SealedSecretApplyStep.cs (2)
780logger?.LogInformation("kubectl (stdout): {Output}", e.Data); 793logger?.LogInformation("Running: kubectl {Args}", string.Join(' ', args));
RadiusInfrastructure.cs (1)
59logger.LogInformation(
ResourceMapping\ResourceTypeMapper.cs (1)
155_logger.LogInformation(
Aspire.Hosting.RemoteHost (27)
Ats\ExternalCapabilityRegistry.cs (11)
91_logger.LogInformation("Integration host connected ({RpcHash}), total: {Count}", 227_logger.LogInformation("Initializing {Count} integration host(s)...", hosts.Length); 238_logger.LogInformation("Integration capability discovery started: package {Name}, connection {Host}, timeout {Timeout}.", 283_logger.LogInformation("Integration capability discovery finished: package {Name}, connection {Host}, elapsed {Elapsed}, timeout {Timeout}.", 312_logger.LogInformation("Registered external capability: {CapabilityId}", capabilityId); 315_logger.LogInformation("Integration hosts initialized. External capabilities: {Count}", _capabilities.Count); 472_logger.LogInformation( 525_logger.LogInformation( 539_logger.LogInformation("Integration invocation {InvocationId} finished: capability {CapabilityId}, host {Host}, elapsed {Elapsed}.", 563_logger.LogInformation( 592_logger.LogInformation(
JsonRpcServer.cs (8)
65_logger.LogInformation("Starting RemoteAppHost JsonRpc Server on {SocketPath}...", _socketPath); 88_logger.LogInformation("Goodbye!"); 94_logger.LogInformation("Starting JsonRpc server on named pipe: {SocketPath}", _socketPath); 135_logger.LogInformation("Server shutdown requested"); 145_logger.LogInformation("Server stopped"); 150_logger.LogInformation("Starting JsonRpc server on Unix domain socket: {SocketPath}", _socketPath); 184_logger.LogInformation("Server shutdown requested"); 194_logger.LogInformation("Server stopped");
Language\IntegrationHostLauncher.cs (5)
166_logger.LogInformation( 177_logger.LogInformation( 215_logger.LogInformation( 238_logger.LogInformation( 242_logger.LogInformation(
Language\IntegrationHostProcessLauncher.cs (3)
53logger.LogInformation( 62StandardOutputCallback = line => logger.LogInformation("IntegrationHost[{Name}]: {Line}", descriptor.PackageName, line), 73logger.LogInformation("Started integration host supervisor '{Name}' (PID {Pid}).", descriptor.PackageName, process.ProcessId);
Aspire.Hosting.RemoteHost.Tests (1)
tests\Shared\Processes\ProcessSupervisorLoggerTests.cs (1)
18sender.LogInformation("Started '{Command}'.", "a \"quoted\" path");
Aspire.Hosting.SqlServer (5)
SqlServerBuilderExtensions.cs (5)
391logger.LogInformation("Executing custom creation script for database '{DatabaseName}'", sqlDatabase.DatabaseName); 436logger.LogInformation("Completed custom creation script for database '{DatabaseName}'", sqlDatabase.DatabaseName); 449logger.LogInformation("Executing custom creation script batch {BatchNumber} for database '{DatabaseName}'", batchNumber, sqlDatabase.DatabaseName); 461logger.LogInformation("Completed custom creation script batch {BatchNumber} execution {ExecutionNumber}/{ExecutionCount} for database '{DatabaseName}' ({RowsAffected} rows affected)", batchNumber, i + 1, executionCount, sqlDatabase.DatabaseName, rowsAffected); 465logger.LogInformation("Completed custom creation script batch {BatchNumber} execution {ExecutionNumber}/{ExecutionCount} for database '{DatabaseName}'", batchNumber, i + 1, executionCount, sqlDatabase.DatabaseName);
Aspire.Hosting.Testing.Tests (3)
ResourceLoggerForwarderServiceTests.cs (1)
117resourceLogger.LogInformation("Test information message");
tests\Shared\AsyncTestHelpers.cs (2)
196logger?.LogInformation("Start: {Message}", message); 207logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.Tests (97)
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (24)
1652logger.LogInformation("Hello from myresource"); 1719logger1.LogInformation("Log from resource1"); 1723logger2.LogInformation("Log from resource2"); 1764logger.LogInformation("needle first"); 1765logger.LogInformation("haystack"); 1766logger.LogInformation("needle second"); 1767logger.LogInformation("needle third"); 1810logger.LogInformation("Re\u001b[31mady"); 1811logger.LogInformation("haystack"); 1852logger.LogInformation("needle first"); 1853logger.LogInformation("haystack"); 1854logger.LogInformation("needle second"); 1855logger.LogInformation("needle third"); 1899logger1.LogInformation("resource1 log"); 1903logger2.LogInformation("resource2 log"); 1951visibleLogger.LogInformation("needle visible"); 1955hiddenLogger.LogInformation("needle hidden"); 2005logger1.LogInformation("Log from replica 1"); 2009logger2.LogInformation("Log from replica 2"); 2013otherLogger.LogInformation("Log from other resource"); 2060logger1.LogInformation("Log from replica 1"); 2064logger2.LogInformation("Log from replica 2"); 2130logger.LogInformation("First log"); 2131logger.LogInformation("Second log");
Backchannel\BackchannelLoggerProviderTests.cs (9)
16logger.LogInformation("Message 1"); 43provider1.CreateLogger("TestCategory").LogInformation("Provider 1"); 44provider2.CreateLogger("TestCategory").LogInformation("Provider 2"); 81logger.LogInformation("Message {Index}", i); 101logger.LogInformation("Before snapshot"); 106logger.LogInformation("After snapshot"); 122logger.LogInformation("Historical"); 133logger.LogInformation("Live 1"); 134logger.LogInformation("Live 2");
Dashboard\DashboardServiceTests.cs (25)
58logger.LogInformation(new string('1', LongLineCharacters)); 59logger.LogInformation(new string('2', LongLineCharacters)); 60logger.LogInformation(new string('3', LongLineCharacters)); 61logger.LogInformation("Test1"); 62logger.LogInformation("Test2"); 111logger.LogInformation(new string('1', DashboardServiceImpl.LogMaxBatchCharacters)); 113logger.LogInformation(new string('2', LongLineCharacters)); 114logger.LogInformation(new string('3', LongLineCharacters)); 115logger.LogInformation(new string('4', LongLineCharacters)); 209logger.LogInformation("Publishing resource."); 215logger.LogInformation("Waiting for the resource with a command. Required so added resource is always in the service's initial data collection"); 226logger.LogInformation("Calling WatchResources."); 232logger.LogInformation("Reading result from writer."); 241logger.LogInformation($"Initial data count: {update.InitialData.Resources.Count}"); 244logger.LogInformation($"Commands count: {resourceData.Commands.Count}"); 489logger.LogInformation("Calling WatchInteractions."); 500logger.LogInformation("Reading result from writer."); 508logger.LogInformation("Send result to reader."); 560logger.LogInformation("Calling WatchInteractions."); 572logger.LogInformation("Reading result from writer."); 722logger.LogInformation("Calling WatchInteractions."); 734logger.LogInformation("Reading result from writer."); 742logger.LogInformation("Send result to reader."); 782logger.LogInformation("Calling WatchInteractions."); 820logger.LogInformation("Calling WatchInteractions.");
DistributedApplicationTests.cs (17)
211logger.LogInformation("Force resource to start."); 215logger.LogInformation("Stop resource."); 219logger.LogInformation("Start resource (into waiting state)"); 223logger.LogInformation("Force resource to start."); 275logger.LogInformation("Start explicit start resource."); 296logger.LogInformation("Stop resource."); 300logger.LogInformation("Start resource again"); 575logger.LogInformation("Start explicit start resource."); 591logger.LogInformation("Stop resource."); 595logger.LogInformation("Start resource again"); 658logger.LogInformation("Start explicit start resource."); 676logger.LogInformation("Stop resource."); 683logger.LogInformation("Start resource again"); 783logger.LogInformation("Make sure services A and C are running"); 799logger.LogInformation("Calling PID API at {Url}", url); 806logger.LogInformation("PID API returned new value: {PID}", pid); 810logger.LogInformation("Success! We heard from all {ReplicaCount} replicas.", replicaCount);
Pipelines\DistributedApplicationPipelineTests.cs (6)
1201logger.LogInformation("Test log message from pipeline step"); 1235step1Logger.LogInformation("Message from step 1"); 1247step2Logger.LogInformation("Message from step 2"); 1287logger.LogInformation("About to fail"); 1333logger.LogInformation("Executing step {stepNumber}", stepNumber); 1399logger.LogInformation($"Information message");
Pipelines\PipelineLoggerProviderTests.cs (2)
97logger.LogInformation("Task 1 message"); 105logger.LogInformation("Task 2 message");
ResourceLoggerServiceTests.cs (12)
32logger.LogInformation("Hello, world!"); 72logger.LogInformation("Hello, world!"); 77logger.LogInformation("The third log"); 113logger.LogInformation("Hello, world!"); 143logger.LogInformation("The third log"); 159logger.LogInformation("Before watching!"); 175logger.LogInformation("While watching!"); 197logger.LogInformation("After watching!"); 206logger.LogInformation("While watching again!"); 234logger.LogInformation("Hello, world!"); 284logger.LogInformation("Hello, world!"); 695logger.LogInformation("Hello, world!");
tests\Shared\AsyncTestHelpers.cs (2)
196logger?.LogInformation("Start: {Message}", message); 207logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.Valkey.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
196logger?.LogInformation("Start: {Message}", message); 207logger?.LogInformation("End: {Message}", message);
Aspire.Playground.Tests (8)
Infrastructure\DistributedApplicationExtensions.cs (6)
217logger.LogInformation("Checking if project '{ProjectName}' has a migration endpoint", projectName); 224logger.LogInformation("Project '{ProjectName}' does not have a migration endpoint", projectName); 229logger.LogInformation("Attempting to apply EF migrations for project '{ProjectName}'", projectName); 242logger.LogInformation("Found {DbContextCount} DbContext types in project '{ProjectName}'", dbContextTypes.Count(), projectName); 250logger.LogInformation("Applying migrations for DbContext '{DbContextType}' in project '{ProjectName}'", dbContextType.FullName, projectName); 256logger.LogInformation("Migrations applied for DbContext '{DbContextType}' in project '{ProjectName}'", dbContextType.FullName, projectName);
tests\Shared\AsyncTestHelpers.cs (2)
196logger?.LogInformation("Start: {Message}", message); 207logger?.LogInformation("End: {Message}", message);
Aspire.TerminalHost (15)
DcpUpstreamAdapter.cs (1)
232_logger.LogInformation("DcpUpstreamAdapter: upstream stream established.");
TerminalHostApp.cs (4)
104_logger.LogInformation( 134_logger.LogInformation("Terminal host ready."); 211_logger.LogInformation("Shutdown requested."); 319initLogger.LogInformation(
TerminalHostControlListener.cs (1)
100_logger.LogInformation("Control listener bound to '{Path}'.", _socketPath);
TerminalReplica.cs (9)
209loggerFactory.CreateLogger<TerminalReplica>().LogInformation( 256_logger.LogInformation( 315_logger.LogInformation( 322_logger.LogInformation( 390_logger.LogInformation( 400_logger.LogInformation( 417_logger.LogInformation("DCP producer disconnected; replica will rebind."); 481_logger.LogInformation( 503_logger.LogInformation(
Aspire.TerminalHost.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
196logger?.LogInformation("Start: {Message}", message); 207logger?.LogInformation("End: {Message}", message);
AzureFunctionsEndToEnd.Functions (4)
MyAzureBlobTrigger.cs (1)
16logger.LogInformation("C# blob trigger function invoked for 'myblobcontainer/{source}' with {message}...", blobName, triggerString);
MyAzureQueueTrigger.cs (1)
12logger.LogInformation("C# Queue trigger function processed: {Text}", message.MessageText);
MyEventHubTrigger.cs (1)
11logger.LogInformation("C# EventHub trigger function processed: {Count} messages", input.Length);
MyHttpTrigger.cs (1)
31logger.LogInformation("C# HTTP trigger function processed a request.");
AzureFunctionsService (1)
HttpTrigger.cs (1)
13logger.LogInformation("Azure Functions trigger executed.");
AzureFunctionsWithDts.Functions (1)
MyOrchestrationTrigger.cs (1)
12logger.LogInformation("Saying hello.");
AzureKusto.AppHost (1)
AzureKustoReadWriteDatabaseResourceBuilderExtensions.cs (1)
33logger.LogInformation("Skipping Kusto DB control command for non-emulator.");
AzureKusto.Worker (3)
IngestionWorker.cs (2)
32_logger.LogInformation("Starting ingestion worker"); 39_logger.LogInformation("Ingestion complete");
QueryWorker.cs (1)
44_logger.LogInformation("Query Results: {results}", results);
AzureSearch.ApiService (10)
Program.cs (10)
27logger.LogInformation("Deleting if exists"); 30logger.LogInformation("Creating index..."); 35logger.LogInformation("Uploading documents..."); 38logger.LogInformation("Running queries..."); 74logger.LogInformation("Document {@document}", result.Document); 83logger.LogInformation("Search the entire index for the term 'motel' and return only the HotelName field:\n"); 92logger.LogInformation("Apply a filter to the index to find hotels with a room cheaper than $100 per night, and return the hotelId and description:\n"); 105logger.LogInformation( 123logger.LogInformation("Search the hotel names for the term 'hotel':\n"); 171logger.LogInformation("Waiting for documents to be indexed...\n");
BasketService (4)
BasketService.cs (2)
61_logger.LogInformation("Checking out {Count} item(s) for BuyerId: {BuyerId}.", order.Items.Count, buyerId); 92_logger.LogInformation("Order Id {Id} submitted.", order.Id);
Repositories\RedisBasketRepository.cs (2)
53_logger.LogInformation("Problem occur persisting the item."); 57_logger.LogInformation("Basket item persisted successfully.");
CatalogDb (5)
CatalogDbInitializer.cs (5)
31logger.LogInformation("Database initialization completed after {ElapsedMilliseconds}ms", sw.ElapsedMilliseconds); 36logger.LogInformation("Seeding database"); 89logger.LogInformation("Seeding {CatalogBrandCount} catalog brands", brands.Count); 99logger.LogInformation("Seeding {CatalogTypeCount} catalog item types", types.Count); 109logger.LogInformation("Seeding {CatalogItemCount} catalog items", items.Count);
Consumer (2)
ConsumerWorker.cs (2)
24logger.LogInformation($"Consumed message [{result.Message?.Key}] = {result.Message?.Value}"); 36logger.LogInformation($"Received {i} messages. current offset is '{result!.Offset}'");
CustomResources.AppHost (4)
TalkingClockResource.cs (2)
71log.LogInformation("Starting Talking Clock..."); 96log.LogInformation("The time is {time}", DateTime.UtcNow);
TestResource.cs (2)
52logger.LogInformation("Starting test resource {ResourceName} with update interval {Interval} seconds", resource.Name, seconds); 70logger.LogInformation("Test resource {ResourceName} is now in state {State}", resource.Name, randomState);
dotnet-format (4)
CodeFormatter.cs (3)
32logger.LogInformation(string.Format(Resources.Formatting_code_files_in_workspace_0, formatOptions.WorkspaceFilePath)); 91logger.LogInformation(Resources.Formatted_code_file_0, documentWithError!.FilePath); 109logger.LogInformation(Resources.Format_complete_in_0_ms, workspaceStopwatch.ElapsedMilliseconds);
ReportWriter.cs (1)
21logger.LogInformation(Resources.Writing_formatting_report_to_0, reportFilePath);
dotnet-watch (3)
Program.cs (1)
272logger.LogInformation("Polling file watcher is enabled");
Watch\DotNetWatcher.cs (1)
156context.Logger.LogInformation("File changed: {Path}", changedFile.Value.Item.FilePath);
Watch\MsBuildFileSetFactory.cs (1)
80logger.LogInformation("MSBuild output from target '{TargetName}':", TargetName);
EventHubsConsumer (3)
Processor.cs (3)
28logger.LogInformation("Starting processor..."); 32logger.LogInformation(arg.Data.EventBody.ToString()); 49logger.LogInformation("Stopping processor...");
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (4)
Buffering\PerRequestLogBufferingIncludeScopesTests.cs (1)
43logger.LogInformation("buffered");
Buffering\PerRequestLogBufferManagerTests.cs (1)
30Assert.Null(Record.Exception(() => logger.LogInformation("test")));
Logging\AcceptanceTests.cs (2)
73logger.LogInformation("Log Information from Request"); 932logger.LogInformation("This is a log message 2");
Microsoft.AspNetCore.InternalTesting (5)
AssemblyTestLog.cs (5)
78_globalLogger.LogInformation("Starting test {testName}", testName); 79logger.LogInformation("Starting test {testName} at {logStart}", testName, logStart.ToString("s", CultureInfo.InvariantCulture)); 84_globalLogger.LogInformation("Finished test {testName} in {duration}s", testName, stopwatch.Elapsed.TotalSeconds); 85logger.LogInformation("Finished test {testName} in {duration}s", testName, stopwatch.Elapsed.TotalSeconds); 213logger.LogInformation("Global Test Logging initialized at {logStart}. "
Microsoft.AspNetCore.Server.IntegrationTesting (29)
ApplicationPublisher.cs (2)
76logger.LogInformation($"Executing command {DotnetCommandName} {parameters}"); 106logger.LogInformation($"{DotnetCommandName} publish finished with exit code : {hostProcess.ExitCode}");
Common\ProcessLoggingExtensions.cs (1)
17logger.LogInformation($"{prefix} stdout: {{line}}", dataArgs.Data);
Common\RetryHelper.cs (2)
29logger.LogInformation("Failed to connect, retry canceled."); 65logger.LogInformation("Failed to connect, retry limit exceeded.");
Deployers\ApplicationDeployer.cs (5)
119Logger.LogInformation("Attempting to cancel process {0}", hostProcess.Id); 129Logger.LogInformation("Successfully terminated host process with process Id '{processId}'", hostProcess.Id); 166Logger.LogInformation("Host process shutting down."); 179Logger.LogInformation($"Deploying {DeploymentParameters}"); 186Logger.LogInformation("[Time]: Total time taken for this test variation '{t}' seconds", _stopwatch.Elapsed.TotalSeconds);
Deployers\NginxDeployer.cs (3)
74Logger.LogInformation("Application ready at URL: {appUrl}", uri); 187Logger.LogInformation("nginx process ID {pid} started", pid); 215Logger.LogInformation("nginx stop command issued");
Deployers\RemoteWindowsDeployer\RemoteWindowsDeployer.cs (5)
97Logger.LogInformation($"Copied the locally published folder to the file share path '{_deployedFolderPathInFileShare}'"); 121Logger.LogInformation($"Stopping the application on the server '{_deploymentParameters.ServerName}'"); 131Logger.LogInformation($"Deleting the deployed folder '{_deployedFolderPathInFileShare}'"); 141Logger.LogInformation($"Deleting the locally published folder '{DeploymentParameters.PublishedApplicationRootPath}'"); 252Logger.LogInformation($"[{_deploymentParameters.ServerName} {serverAction} stdout]: script complete");
Deployers\SelfHostDeployer.cs (9)
67Logger.LogInformation("Application ready at URL: {appUrl}", actualUrl); 119Logger.LogInformation($"Executing {executableName} {executableArgs}"); 134Logger.LogInformation($"Working directory {workingDirectory}"); 135Logger.LogInformation($"{Directory.Exists(workingDirectory)}"); 136Logger.LogInformation($"Filename {executableName}"); 137Logger.LogInformation($"{File.Exists(executableName)}"); 138Logger.LogInformation($"Arguments {executableArgs}"); 167Logger.LogInformation("host process ID {pid} shut down", HostProcess.Id); 190Logger.LogInformation("Started {fileName}. Process Id : {processId}", startInfo.FileName, HostProcess.Id);
ProcessHelpers.cs (2)
25logger.LogInformation("Removing environment variable {name}", name); 30logger.LogInformation("SET {name}={value}", name, value);
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\AddressBinder.cs (1)
200context.Logger.LogInformation(CoreStrings.OverridingWithPreferHostingUrls, nameof(IServerAddressesFeature.PreferHostingUrls), joined);
Internal\KestrelServerImpl.cs (2)
357Trace.LogInformation("Config changed. Stopping the following endpoints: '{endpoints}'", string.Join("', '", urlsToStop)); 385Trace.LogInformation("Config changed. Starting the following endpoints: '{endpoints}'", string.Join("', '", urlsToStart));
Microsoft.AspNetCore.SpaProxy (4)
SpaProxyLaunchManager.cs (2)
47_logger.LogInformation($"No SPA development server running at {_options.ServerUrl} found."); 165_logger.LogInformation($"SPA development server running at '{_options.ServerUrl}'");
SpaProxyMiddleware.cs (2)
59_logger.LogInformation("SPA proxy is not ready. Returning temporary landing page."); 69_logger.LogInformation($"SPA proxy is ready. Redirecting to {_options.Value.GetRedirectUrl()}.");
Microsoft.AspNetCore.SpaServices.Extensions (3)
AngularCli\AngularCliMiddleware.cs (1)
64logger.LogInformation($"Starting @angular/cli on port {portNumber}...");
Npm\NodeScriptRunner.cs (1)
93logger.LogInformation(StripAnsiColors(line));
ReactDevelopmentServer\ReactDevelopmentServerMiddleware.cs (1)
70logger.LogInformation($"Starting create-react-app server on port {portNumber}...");
Microsoft.CodeAnalysis.Rebuild (1)
MetadataCompilationOptions.cs (1)
27logger.LogInformation($"{optionName} - {value}");
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\BuildHostProcessManager.cs (1)
185_logger?.LogInformation(".NET BuildHost started from {ProcessPath} reloading to start from {DotnetPath} to match necessary SDK location.", processPath, dotnetPath);
Microsoft.Diagnostics.NETCore.Client (20)
DiagnosticsServerRouter\DiagnosticsServerRouterFactory.cs (15)
766_logger?.LogInformation($"Starting IPC server ({_ipcServerRouterFactory.IpcServerPath}) <--> {_netServerRouterFactory.ServerTransportName} server ({_netServerRouterFactory.ServerAddress}) router."); 773_logger?.LogInformation($"Stopping IPC server ({_ipcServerRouterFactory.IpcServerPath}) <--> {_netServerRouterFactory.ServerTransportName} server ({_netServerRouterFactory.ServerAddress}) router."); 835_logger?.LogInformation($"Broken ipc connection detected, aborting {_netServerRouterFactory.ServerTransportName} connection."); 872_logger?.LogInformation($"Broken {_netServerRouterFactory.ServerTransportName} connection detected, aborting ipc connection."); 964_logger?.LogInformation($"Starting IPC server ({_ipcServerRouterFactory.IpcServerPath}) <--> TCP client ({_tcpClientRouterFactory.TcpClientAddress}) router."); 971_logger?.LogInformation($"Stopping IPC server ({_ipcServerRouterFactory.IpcServerPath}) <--> TCP client ({_tcpClientRouterFactory.TcpClientAddress}) router."); 1018_logger?.LogInformation("Broken ipc connection detected, aborting tcp connection."); 1095_logger?.LogInformation($"Starting IPC client ({_ipcClientRouterFactory.IpcClientPath}) <--> {_tcpServerRouterFactory.ServerTransportName} server ({_tcpServerRouterFactory.ServerAddress}) router."); 1102_logger?.LogInformation($"Stopping IPC client ({_ipcClientRouterFactory.IpcClientPath}) <--> {_tcpServerRouterFactory.ServerTransportName} server ({_tcpServerRouterFactory.ServerAddress}) router."); 1152_logger?.LogInformation("Broken tcp connection detected, aborting ipc connection."); 1240_logger?.LogInformation($"Starting IPC client ({_ipcClientRouterFactory.IpcClientPath}) <--> TCP client ({_tcpClientRouterFactory.TcpClientAddress}) router."); 1246_logger?.LogInformation($"Stopping IPC client ({_ipcClientRouterFactory.IpcClientPath}) <--> TCP client ({_tcpClientRouterFactory.TcpClientAddress}) router."); 1297_logger?.LogInformation("Broken tcp connection detected, aborting ipc connection."); 1371_logger?.LogInformation("Broken ipc connection detected."); 1376_logger?.LogInformation("Broken tcp connection detected.");
DiagnosticsServerRouter\DiagnosticsServerRouterRunner.cs (5)
136routerFactory.Logger?.LogInformation("No runtime connected before timeout."); 137routerFactory.Logger?.LogInformation("Starting automatic shutdown."); 147routerFactory.Logger?.LogInformation($"Shutting down due to error: {ex.Message}"); 153routerFactory.Logger?.LogInformation("Shutting down due to cancelation request."); 162routerFactory.Logger?.LogInformation("Router stopped.");
Microsoft.DotNet.HotReload.Watch (9)
Build\BuildReporter.cs (1)
105_logger.LogInformation("MSBuild output:");
FileWatcher\FileWatcher.cs (1)
224logger.LogInformation("File changed: {FilePath}", fileChange.Value.Path);
HotReload\HotReloadDotNetWatcher.cs (3)
537_context.Logger.LogInformation("Affected projects:"); 541_context.Logger.LogInformation(" {ProjectName}", projectName); 922_context.Logger.LogInformation(GetMessage(items, kind));
src\sdk\src\Dotnet.Watch\HotReloadClient\Web\AbstractBrowserRefreshServer.cs (2)
308logger.LogInformation("Connecting to the browser ..."); 331logger.LogInformation("Browser connection established.");
UI\BuildOutput.cs (1)
41logger.LogInformation(line);
UI\RestartPrompt.cs (1)
16logger.LogInformation("Restarting");
Microsoft.Extensions.AI.Evaluation.Console (11)
Commands\CleanCacheCommand.cs (3)
40logger.LogInformation("Storage root path: {StorageRootPath}", storageRootPath); 41logger.LogInformation("Deleting expired cache entries..."); 49logger.LogInformation("Azure Storage endpoint: {EndpointUri}", endpointUri);
Commands\CleanResultsCommand.cs (4)
45logger.LogInformation("Storage root path: {StorageRootPath}", storageRootPath); 53logger.LogInformation("Azure Storage endpoint: {EndpointUri}", endpointUri); 67logger.LogInformation("Deleting all results..."); 74logger.LogInformation(
Commands\ReportCommand.cs (4)
55logger.LogInformation("Storage root path: {StorageRootPath}", storageRootPath); 63logger.LogInformation("Azure Storage endpoint: {EndpointUri}", endpointUri); 109logger.LogInformation( 134logger.LogInformation("Report: {OutputFilePath} [{Format}]", outputFilePath, format);
Microsoft.Extensions.Diagnostics.Testing.Tests (9)
Logging\FakeLogCollectorTests.cs (4)
60logger.LogInformation("Hello world!"); 102logger.LogInformation("Hello world!"); 141logger.LogInformation("Hello world!"); 173logger.LogInformation("Hello world!");
Logging\FakeLoggerTests.cs (5)
27logger.LogInformation("Hello"); 210logger.LogInformation("M2"); 277logger.LogInformation("Main message"); 305logger.LogInformation(NotIgnoredMessage1); 306logger.LogInformation(IgnoredMessage);
Microsoft.Extensions.Hosting (4)
Internal\ConsoleLifetime.cs (4)
104Logger.LogInformation("Application started. Press Ctrl+C to shut down."); 105Logger.LogInformation("Hosting environment: {EnvName}", Environment.EnvironmentName); 106Logger.LogInformation("Content root path: {ContentRoot}", Environment.ContentRootPath); 112Logger.LogInformation("Application is shutting down...");
Microsoft.Extensions.Hosting.Systemd (2)
SystemdLifetime.cs (2)
97Logger.LogInformation("Application started. Hosting environment: {EnvironmentName}; Content root path: {ContentRoot}", 106Logger.LogInformation("Application is shutting down...");
Microsoft.Extensions.Hosting.WindowsServices (2)
WindowsServiceLifetime.cs (2)
82Logger.LogInformation("Application started. Hosting environment: {EnvName}; Content root path: {ContentRoot}", 88Logger.LogInformation("Application is shutting down...");
Microsoft.Extensions.Telemetry.Tests (16)
Logging\ExtendedLoggerFactoryTests.cs (15)
215logger.LogInformation("Message 1"); 222logger.LogInformation("Message 2"); 262logger.LogInformation("Message1"); 296logger.LogInformation("Message1"); 322logger.LogInformation("Message1"); 354logger.LogInformation("Message1"); 361logger.LogInformation("Message2"); 373logger.LogInformation("Message3"); 379logger.LogInformation("Message4"); 422logger.LogInformation("Message1"); 444logger.LogInformation("Message"); 448logger.LogInformation("Message2"); 502logger.LogInformation("Message"); 506logger.LogInformation("Message2"); 551logger1.LogInformation("This should not throw an exception.");
Logging\ExtendedLoggerTests.cs (1)
668logger.LogInformation("Hello");
Microsoft.NET.Build.Containers (17)
AuthHandshakeMessageHandler.cs (1)
695_logger.LogInformation("Encountered a HttpRequestException {error} with message \"{message}\". Pausing before retry.", e.HttpRequestError, se.Message);
LocalDaemons\ContainerRuntime.cs (1)
120_logger.LogInformation(Strings.LocalDocker_FailedToGetConfig, ex.Message);
LocalDaemons\DockerCli.cs (1)
182_logger.LogInformation(Strings.LocalDocker_FailedToGetConfig, ex.Message);
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);
Tasks\CreateImageIndex.cs (1)
76logger.LogInformation(Strings.BuildingImageIndex, destinationImageReference, string.Join(", ", images.Select(i => i.ManifestDigest)));
Microsoft.TemplateEngine.Core (1)
Operations\BalancedNesting.cs (1)
106processor.Config.Logger.LogInformation($"Balanced nesting depth < 0. CurrentBufferPosition = {currentBufferPosition}");
Microsoft.TemplateEngine.Edge (5)
BuiltInManagedProvider\GlobalSettingsTemplatePackageProvider.cs (2)
272_logger.LogInformation( 292_logger.LogInformation(
Installers\NuGet\NuGetLogger.cs (2)
71_baseLogger.LogInformation(data); 76_baseLogger.LogInformation(data);
Template\TemplateCreator.cs (1)
373_logger.LogInformation(
MilvusPlayground.ApiService (6)
Program.cs (6)
43logger.LogInformation("Collection created: book"); 73logger.LogInformation("Added vectors"); 76logger.LogInformation("Insert status: {0},", result.ToString()); 90logger.LogInformation("FieldName:{0}, IndexName:{1}, IndexId:{2}", info.FieldName, info.IndexName, info.IndexId); 93logger.LogInformation("Index created"); 98logger.LogInformation("Collection loaded");
Nats.Backend (1)
Program.cs (1)
27logger.LogInformation("Processing event: {Data}", msg.Data);
OrderProcessor (2)
OrderProcessingWorker.cs (2)
55_logger.LogInformation($"Processing Order at: {DateTime.UtcNow}"); 71_logger.LogInformation("""
Producer (2)
ContinuousProducerWorker.cs (1)
18logger.LogInformation($"{producer.Name} sent message '{message.Value}'");
IntermittentProducerWorker.cs (1)
23logger.LogInformation($"{producer.Name} sent 1000 messages, waiting 10 s");
Qdrant.ApiService (1)
Program.cs (1)
29logger.LogInformation(collectionInfo.ToString());
Seq.ApiService (1)
Program.cs (1)
21app.Logger.LogInformation("Range is between {Min} and {Max}", min, max);
ServiceBusWorker (4)
Consumer.cs (2)
20logger.LogInformation("Received message: {Message}", Encoding.UTF8.GetString(args.Message.Body)); 34logger.LogInformation("Stopping consumer...");
Producer.cs (2)
11logger.LogInformation("Starting producer..."); 25logger.LogInformation("Stopping producer...");
Stress.ApiService (14)
LargeTelemetryGenerator.cs (9)
62logger.LogInformation("Generating {TraceCount} traces with {SpansPerTrace} spans each.", options.TraceCount, options.SpansPerTrace); 69logger.LogInformation("Generating one trace with {SpanCount} spans.", options.LargeTraceSpanCount); 76logger.LogInformation("Generating {LogCount} structured logs.", options.StructuredLogCount); 83logger.LogInformation("Writing {LogCount} console logs through ILogger.", options.ConsoleLogCount); 87logger.LogInformation("Large console log {LogIndex}.", logIndex + 1); 99logger.LogInformation( 114logger.LogInformation("Large telemetry generation completed."); 407logger.LogInformation("Exported {PointCount} points for histogram {InstrumentName}.", histogram.Histogram.DataPoints.Count, histogram.Name); 681logger.LogInformation("{TelemetryCount} {TelemetryKind} added.", nextProgressCount, telemetryKind);
Program.cs (5)
273logger.LogInformation("Log entry {BatchIndex}-{LogEntryIndex}", i, j); 298logger.LogInformation("Log entry {BatchIndex}-{LogEntryIndex}: {Payload}", i, j, payload); 343logger.LogInformation("Writing logs canceled."); 356logger.LogInformation("This is log message {LogCount}.", logCount); 422logger.LogInformation(@"XML large content: {XmlLarge}
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);
TestResource.cs (2)
166logger.LogInformation("Starting test resource {ResourceName} with update interval {Interval} seconds", resource.Name, seconds); 184logger.LogInformation("Test resource {ResourceName} is now in state {State}", resource.Name, randomState);
Stress.TelemetryService (2)
CounterMetrics.cs (1)
12logger.LogInformation("Starting CounterMetrics");
GaugeMetrics.cs (1)
13logger.LogInformation("Starting GaugeMetrics");
TestProject.WorkerA (1)
Worker.cs (1)
23_logger.LogInformation("Worker running at: {Time}", DateTimeOffset.Now);
WebPubSubWeb (1)
Program.cs (1)
71logger.LogInformation("[SYSTEM] {ConnectionId} joined.", connectionId.ToString());