809 references to LogInformation
aspire (68)
Backchannel\AppHostCliBackchannel.cs (2)
405logger.LogInformation("Backchannel disconnected: {Reason}. Attempting to reconnect...", args.Reason); 463logger.LogInformation("Successfully reconnected to backchannel");
Backchannel\AuxiliaryBackchannelMonitor.cs (4)
271logger.LogInformation("Starting auxiliary backchannel monitor for {CommandType}", command.GetType().Name); 291logger.LogInformation("Auxiliary backchannel monitor stopping"); 569logger.LogInformation("Disconnected from AppHost at {SocketPath}: {Reason}", socketPath, args.Reason); 580logger.LogInformation(
Bundles\BundleService.cs (1)
232logger.LogInformation("Extracting embedded bundle to {Path}...", destinationPath);
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);
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)
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);
Packaging\PackagingService.cs (1)
459_logger.LogInformation(
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);
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)
1468_logger.LogInformation("Aspire run isolated. Isolated UserSecretsId: {IsolatedUserSecretsId}", isolatedUserSecretsId); 2553_logger.LogInformation("No UserSecretsId found. Initializing user secrets for {Project}...", projectFile.Name);
Projects\GuestAppHostProject.cs (2)
239_logger.LogInformation("Loaded config from {Directory} (file exists: {Exists})", configDir.FullName, AspireConfigFile.Exists(configDir.FullName)); 1715_logger.LogInformation("Generated {Count} {CodeGenerator} files in {Path} ({WrittenCount} changed)",
Projects\GuestRuntime.cs (1)
637_logger.LogInformation("Creating missing required file: {FileName}", fileName);
Projects\PrebuiltAppHostServer.cs (1)
1385_logger.LogInformation("PrebuiltAppHostServer({ProcessId}) stderr: {Line}", execution.ProcessId, line);
Projects\ProcessGuestLauncher.cs (1)
160_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)
41logger.LogInformation("No updates required for project: {ProjectFile}", projectFile.FullName); 421logger.LogInformation("App Host SDK is up to date."); 1061logger.LogInformation("Package '{PackageId}' is up to date.", packageId); 1081logger.LogInformation("Package '{PackageId}' not found in Directory.Packages.props, skipping.", packageId); 1097logger.LogInformation("Package '{PackageId}' is up to date.", packageId);
Aspire.Cli.Tests (6)
Interaction\SpectreConsoleLoggerProviderTests.cs (4)
55logger.LogInformation("Test info message"); 118logger.LogInformation("buffered while prompting"); 139logger.LogInformation("first"); 143logger.LogInformation("second");
tests\Shared\AsyncTestHelpers.cs (2)
222logger?.LogInformation("Start: {Message}", message); 233logger?.LogInformation("End: {Message}", message);
Aspire.Dashboard (17)
Components\Pages\TraceDetail.razor.cs (3)
260Logger.LogInformation("Getting trace '{TraceId}'.", traceId); 270Logger.LogInformation("Couldn't find trace '{TraceId}'.", traceId); 307Logger.LogInformation("Trace '{TraceId}' has {SpanCount} spans.", trace.TraceId, trace.Spans.Count);
DashboardWebApplication.cs (4)
433_logger.LogInformation("Now listening on: {DashboardUri}", frontendEndpointInfo.GetResolvedAddress()); 439_logger.LogInformation("OTLP/gRPC listening on: {OtlpEndpointUri}", _otlpServiceGrpcEndPointAccessor().GetResolvedAddress()); 444_logger.LogInformation("OTLP/HTTP listening on: {OtlpEndpointUri}", _otlpServiceHttpEndPointAccessor().GetResolvedAddress()); 633logger.LogInformation("Aspire dashboard version: {Version}", informationalVersion);
Otlp\Storage\SqliteTelemetryRepository.Metrics.Writes.cs (1)
123_otlpContext.Logger.LogInformation("Error adding {MetricType} metrics. {MetricType} is not supported.", metric.DataCase, metric.DataCase);
ServiceClient\DashboardRunStore.cs (1)
154_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.");
Telemetry\DashboardTelemetrySender.cs (2)
47_logger.LogInformation("Starting sender loop."); 80_logger.LogInformation("Ending sender loop.");
Terminal\TerminalWebSocketProxy.cs (3)
221logger.LogInformation("Terminal WS opened for {Resource}/{Replica} ({ConnectionId}).", 231logger.LogInformation("Terminal WS closed for {Resource}/{Replica} ({ConnectionId}).", 438logger.LogInformation("Terminal bridge first pump ended for {ConnectionId}: {Pump}.",
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)
222logger?.LogInformation("Start: {Message}", message); 233logger?.LogInformation("End: {Message}", message);
Aspire.Dashboard.Tests (20)
Integration\OtlpGrpcServiceTests.cs (6)
175logger.LogInformation("Writing original JSON file."); 207logger.LogInformation("Options changed."); 224logger.LogInformation("Writing new JSON file."); 227logger.LogInformation("Waiting for options change."); 230logger.LogInformation("Assert new API key."); 234logger.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\TelemetryLoggerProviderTests.cs (1)
37circuitHostLogger.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)
222logger?.LogInformation("Start: {Message}", message); 233logger?.LogInformation("End: {Message}", message);
Aspire.Hosting (70)
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)
413logger.LogInformation(BuildLogPrefix + "{Message}", message); 444targetLogger.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)
667logger.LogInformation("Waiting for value from resource '{ResourceName}'", providerResource.Name); 671logger.LogInformation("Waiting for value for environment variable value '{Name}' from resource '{ResourceName}'", key, providerResource.Name); 676logger.LogInformation("Waiting for value for connection string from resource '{ResourceName}'", cs.Name); 680logger.LogInformation( 690logger.LogInformation("Waiting for value from {ValueProvider}.", valueProvider.ToString()); 694logger.LogInformation("Waiting for value for environment variable value '{Name}' from {ValueProvider}.", key, valueProvider.ToString());
ApplicationModel\ResourceNotificationService.cs (7)
154resourceLogger.LogInformation("Waiting for resource '{ResourceName}' to become healthy.", displayName); 164resourceLogger.LogInformation("Waiting for resource ready to execute for '{ResourceName}'.", displayName); 175resourceLogger.LogInformation("Finished waiting for resource '{ResourceName}'.", displayName); 307resourceLogger.LogInformation("Waiting for resource '{ResourceName}' to complete.", dependency.Name); 359resourceLogger.LogInformation("Finished waiting for resource '{ResourceName}'.", displayName); 376resourceLogger.LogInformation("Waiting for resource '{ResourceName}' to enter the '{State}' state.", dependency.Name, KnownResourceStates.Running); 458resourceLogger.LogInformation("Finished waiting for resource '{ResourceName}' to start.", displayName);
Ats\LoggingExports.cs (1)
34logger.LogInformation("{Message}", message);
Dashboard\DashboardEventHandlers.cs (2)
384distributedApplicationLogger.LogInformation("Generating a dynamic url for dashboard. If you want a consistent url, configure `ASPNETCORE_URLS`"); 535distributedApplicationLogger.LogInformation("Now listening on: {DashboardUrl}", dashboardUrl.TrimEnd('/'));
Dcp\DcpHost.cs (1)
328_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 (8)
459logger.LogInformation("Parameter value deleted from deployment state for {ParameterName}.", parameterResource.Name); 462.LogInformation("Parameter resource {ResourceName} value has been deleted from user secrets.", parameterResource.Name); 466logger.LogInformation("Parameter value cleared for {ParameterName} (not deleted from user secrets).", parameterResource.Name); 469.LogInformation("Parameter resource {ResourceName} value has been cleared.", parameterResource.Name); 514.LogInformation("Parameter resource {ResourceName} has been resolved via user interaction.", parameterResource.Name); 524logger.LogInformation("Parameter value saved to deployment state for {ParameterName}.", parameterResource.Name); 659logger.LogInformation("Parameter values saved to deployment state."); 697logger.LogInformation("{SavedCount} parameter values saved to deployment state.", savedCount);
Pipelines\DistributedApplicationPipeline.cs (5)
75context.Logger.LogInformation("Initializing deployment for environment '{EnvironmentName}'", hostEnvironment.EnvironmentName); 82context.Logger.LogInformation("Deployment state will be loaded from: {StateFilePath}", stateFilePath); 107context.Logger.LogInformation("User declined to clear deployment state. Canceling pipeline execution."); 112context.Logger.LogInformation("Clearing deployment state due to --clear-cache flag."); 122context.Logger.LogInformation("Setting default deploy tag '{Tag}' for compute resource(s).", uniqueDeployTag);
Pipelines\Internal\DeploymentStateManagerBase.cs (1)
386logger.LogInformation("Deployment state cleared: {Path}", stateFilePath);
Pipelines\Internal\FileDeploymentStateManager.cs (2)
317logger.LogInformation("Skipping deployment state save due to --clear-cache flag"); 426logger.LogInformation("Deployment state cleared: {Path}", currentStatePath);
Pipelines\Internal\UserSecretsDeploymentStateManager.cs (1)
45logger.LogInformation("Azure resource connection strings saved to user secrets.");
Pipelines\PipelineStepHelpers.cs (1)
42context.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)
73logger.LogInformation("Published manifest to: {ManifestPath}", fullyQualifiedPath);
Publishing\ResourceContainerImageManager.cs (6)
213logger.LogInformation("Starting to build container images"); 243logger.LogInformation("Building container image for resource {ResourceName}", resource.Name); 307logger.LogInformation("Building image: {ResourceName}", resource.Name); 311logger.LogInformation("Building image for {ResourceName} completed", resource.Name); 455logger.LogInformation("Building image: {ResourceName}", resource.Name); 511logger.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)
103_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)
308context.Logger.LogInformation(" {Type}: {Name}", shortType, name); 352context.Logger.LogInformation("User canceled the destroy operation.");
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.");
AzurePublishingContext.cs (1)
110Logger.LogInformation("No resources found in the model");
Provisioning\Internal\BaseProvisioningContextProvider.cs (5)
106_logger.LogInformation("Default subscription: {name} ({subscriptionId})", subscriptionResource.DisplayName, subscriptionResource.Id); 107_logger.LogInformation("Tenant: {tenantId}", tenantResource.TenantId); 153_logger.LogInformation("Using existing resource group {rgName}.", resourceGroup.Name); 164_logger.LogInformation("Creating resource group {rgName} in {location}...", resourceGroupName, location); 180_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)
399_logger.LogInformation("Using location {location} from existing resource group {resourceGroup}", _options.Location, selectedResourceGroup);
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)
ContainerAppEnvironmentContext.cs (1)
56Logger.LogInformation(
Aspire.Hosting.Azure.AppService (1)
AzureAppServiceEnvironmentContext.cs (1)
56Logger.LogInformation(
Aspire.Hosting.Azure.Kubernetes (6)
AzureKubernetesEnvironmentResource.AksPipeline.cs (6)
56logger.LogInformation("Processing AKS environment '{Name}'", Name); 291context.Logger.LogInformation( 308context.Logger.LogInformation( 333context.Logger.LogInformation( 641context.Logger.LogInformation( 707logger.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)
222logger?.LogInformation("Start: {Message}", message); 233logger?.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)
222logger?.LogInformation("Start: {Message}", message); 233logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.Browsers (10)
BrowserHostRegistry.cs (3)
87_logger.LogInformation("Reusing tracked browser host '{BrowserExecutable}' at '{Endpoint}'. Active leases: {ReferenceCount}.", identity.ExecutablePath, FormatDebugEndpoint(entry.Host.DebugEndpoint), entry.ReferenceCount); 305_logger.LogInformation("Adopting tracked browser host '{BrowserExecutable}' at '{Endpoint}'.", identity.ExecutablePath, endpoint); 310_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)
213_resourceLogger.LogInformation( 236_resourceLogger.LogInformation( 260_resourceLogger.LogInformation( 272_resourceLogger.LogInformation("[{SessionId}] Tracking browser console logs for '{Url}'.", _sessionId, _url);
BrowserLogsSessionManager.cs (2)
93resourceLogger.LogInformation("[{SessionId}] Opening tracked browser for '{Url}' using '{Browser}'.", sessionId, url, configuration.Browser); 225_resourceLoggerService.GetLogger(resourceName).LogInformation(
Aspire.Hosting.Browsers.Tests (12)
src\Aspire.Hosting.Browsers\BrowserHostRegistry.cs (3)
87_logger.LogInformation("Reusing tracked browser host '{BrowserExecutable}' at '{Endpoint}'. Active leases: {ReferenceCount}.", identity.ExecutablePath, FormatDebugEndpoint(entry.Host.DebugEndpoint), entry.ReferenceCount); 305_logger.LogInformation("Adopting tracked browser host '{BrowserExecutable}' at '{Endpoint}'.", identity.ExecutablePath, endpoint); 310_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)
213_resourceLogger.LogInformation( 236_resourceLogger.LogInformation( 260_resourceLogger.LogInformation( 272_resourceLogger.LogInformation("[{SessionId}] Tracking browser console logs for '{Url}'.", _sessionId, _url);
src\Aspire.Hosting.Browsers\BrowserLogsSessionManager.cs (2)
93resourceLogger.LogInformation("[{SessionId}] Opening tracked browser for '{Url}' using '{Browser}'.", sessionId, url, configuration.Browser); 225_resourceLoggerService.GetLogger(resourceName).LogInformation(
tests\Shared\AsyncTestHelpers.cs (2)
222logger?.LogInformation("Start: {Message}", message); 233logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.Containers.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
222logger?.LogInformation("Start: {Message}", message); 233logger?.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)
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");
IDevTunnelClient.cs (6)
95logger.LogInformation("!! Anonymous access is allowed (inherited from tunnel) !!"); 101logger.LogInformation("Anonymous access is not allowed (tunnel allows it but port explicitly denies it)"); 107logger.LogInformation("!! Anonymous access is allowed (port explicitly allows it) !!"); 113logger.LogInformation("Anonymous access is not allowed (tunnel does not allow it and port explicitly denies it)"); 119logger.LogInformation("!! Anonymous access is allowed (tunnel allows it and port allows it) !!"); 125logger.LogInformation("Anonymous access is not allowed (tunnel does not allow it and port does not explicitly allow or deny it)");
Aspire.Hosting.DevTunnels.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
222logger?.LogInformation("Start: {Message}", message); 233logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.Docker (3)
DockerComposeEnvironmentContext.cs (1)
19logger.LogInformation("Creating Docker Compose resource for {ResourceName}", resource.Name);
DockerComposeEnvironmentResource.cs (1)
540context.Logger.LogInformation("User canceled the destroy operation.");
EnvFile.cs (1)
97_logger?.LogInformation("Environment file '{EnvFilePath}' already exists and will be overwritten", _path);
Aspire.Hosting.Dotnet.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
222logger?.LogInformation("Start: {Message}", message); 233logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.DotnetTool.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
222logger?.LogInformation("Start: {Message}", message); 233logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.EntityFrameworkCore (14)
EFCoreOperationExecutor.cs (7)
533_logger.LogInformation("Updating database..."); 539_logger.LogInformation("Dropping database..."); 566_logger.LogInformation("Creating migration with name: {MigrationName}", migrationName); 588_logger.LogInformation("Removing last migration..."); 597_logger.LogInformation("Getting migration status..."); 699_logger.LogInformation("Generating migration script..."); 730_logger.LogInformation("Generating migration bundle...");
EFResourceBuilderExtensions.cs (7)
375logger.LogInformation("Generating {Operation} for '{ResourceName}'...", operationName, migrationResource.Name); 387logger.LogInformation("{Operation} generated successfully for '{ResourceName}'.", operationName, migrationResource.Name); 815logger.LogInformation("EF Core {Operation} command completed successfully.", operationDisplayName); 855logger.LogInformation("Executing EF Core {Operation} command...", operationDisplayName); 925logger.LogInformation("Migration '{MigrationName}' created successfully.", migrationName); 967logger.LogInformation("Migration removed successfully."); 1024logger.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)
277context.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)
222logger?.LogInformation("Start: {Message}", message); 233logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.GitHub.Models.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
222logger?.LogInformation("Start: {Message}", message); 233logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.Java (1)
JavaHostingExtensions.cs (1)
1691resourceLoggerService.GetLogger(ctx.Resource).LogInformation(
Aspire.Hosting.JavaScript.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
222logger?.LogInformation("Start: {Message}", message); 233logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.Kafka.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
222logger?.LogInformation("Start: {Message}", message); 233logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.Kubernetes (24)
CertManagerExtensions.cs (5)
443context.Logger.LogInformation( 487context.Logger.LogInformation("ClusterIssuer '{IssuerName}' applied.", issuer.Name); 505context.Logger.LogInformation( 514context.Logger.LogInformation( 558context.Logger.LogInformation("ClusterIssuer '{IssuerName}' deleted.", issuer.Name);
Deployment\HelmDeploymentEngine.cs (4)
195ctx.Logger.LogInformation( 535context.Logger.LogInformation("Resource {ResourceName}: {Endpoints}", computeResource.Name, endpointText); 665context.Logger.LogInformation( 700context.Logger.LogInformation("User canceled the destroy operation.");
KubernetesEnvironmentContext.cs (1)
22logger.LogInformation("Creating Kubernetes resource for {ResourceName}", resource.Name);
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);
KubernetesHelmChartExtensions.cs (5)
291logger.LogInformation( 378logger.LogInformation( 392context.Logger.LogInformation( 419logger.LogInformation( 461logger.LogInformation(
Aspire.Hosting.Maui (8)
Lifecycle\MauiBuildQueueEventSubscriber.cs (5)
106logger.LogInformation("Queued — waiting for another build of project '{ProjectName}' to complete.", parent.Name); 118logger.LogInformation("Building project '{ProjectName}' for {ResourceName}.", parent.Name, resource.Name); 147logger.LogInformation("Build cancelled for resource '{ResourceName}'.", resource.Name); 207logger.LogInformation("Running: dotnet {Arguments}", string.Join(" ", args)); 251logger.LogInformation("Build succeeded for resource '{ResourceName}'.", resource.Name);
MauiOtlpExtensions.cs (1)
153.LogInformation(
Utilities\MauiAndroidEnvironmentAnnotation.cs (1)
95logger.LogInformation("Generated environment targets file for Android: {Path}", generatedFilePath);
Utilities\MauiiOSEnvironmentAnnotation.cs (1)
95logger.LogInformation("Generated environment targets file for iOS: {Path}", generatedFilePath);
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)
MySqlBuilderExtensions.cs (3)
168logger.LogInformation("Executing custom creation script for database '{DatabaseName}'", sqlDatabase.DatabaseName); 176logger.LogInformation("Completed custom creation script for database '{DatabaseName}' ({RowsAffected} rows affected)", sqlDatabase.DatabaseName, rowsAffected); 180logger.LogInformation("Completed custom creation script for database '{DatabaseName}'", sqlDatabase.DatabaseName);
Aspire.Hosting.MySql.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
222logger?.LogInformation("Start: {Message}", message); 233logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.OpenAI.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
222logger?.LogInformation("Start: {Message}", message); 233logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.PostgreSQL (3)
PostgresBuilderExtensions.cs (3)
745logger.LogInformation("Executing custom creation script for database '{DatabaseName}'", npgsqlDatabase.DatabaseName); 756logger.LogInformation("Completed custom creation script for database '{DatabaseName}' ({RowsAffected} rows affected)", npgsqlDatabase.DatabaseName, rowsAffected); 760logger.LogInformation("Completed custom creation script for database '{DatabaseName}'", npgsqlDatabase.DatabaseName);
Aspire.Hosting.PostgreSQL.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
222logger?.LogInformation("Start: {Message}", message); 233logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.Python (1)
PythonAppResourceBuilderExtensions.cs (1)
411logger.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)
222logger?.LogInformation("Start: {Message}", message); 233logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.Radius (17)
Publishing\RadCredentialRegisterStep.cs (2)
282logger.LogInformation("rad (stdout): {Output}", RedactSecretValues(e.Data, secretValues)); 296logger.LogInformation("Running: rad {Args}", string.Join(' ', redactedArgs));
Publishing\RadiusBicepPublishingContext.cs (5)
56logger.LogInformation( 77logger.LogInformation( 105logger.LogInformation( 150logger.LogInformation( 184logger.LogInformation("Copied SealedSecret manifest to {Destination}", destination);
Publishing\RadiusDeploymentPipelineStep.cs (6)
113logger.LogInformation("rad CLI detected on PATH for environment '{EnvironmentName}'", _environment.Name); 126logger.LogInformation("Starting rad deploy with Bicep file '{BicepPath}'", bicepPath); 168logger.LogInformation("Running: rad {Args}", string.Join(' ', process.StartInfo.ArgumentList)); 174logger.LogInformation("rad (stdout): {Output}", e.Data); 217logger.LogInformation("rad deploy exited with code {ExitCode} for environment '{EnvironmentName}'", exitCode, _environment.Name); 307logger.LogInformation(
Publishing\SealedSecretApplyStep.cs (2)
914logger?.LogInformation("kubectl (stdout): {Output}", e.Data); 927logger?.LogInformation("Running: kubectl {Args}", string.Join(' ', args));
RadiusInfrastructure.cs (1)
61logger.LogInformation(
ResourceMapping\ResourceTypeMapper.cs (1)
142_logger.LogInformation(
Aspire.Hosting.RemoteHost (8)
JsonRpcServer.cs (8)
51_logger.LogInformation("Starting RemoteAppHost JsonRpc Server on {SocketPath}...", _socketPath); 74_logger.LogInformation("Goodbye!"); 80_logger.LogInformation("Starting JsonRpc server on named pipe: {SocketPath}", _socketPath); 123_logger.LogInformation("Server shutdown requested"); 133_logger.LogInformation("Server stopped"); 138_logger.LogInformation("Starting JsonRpc server on Unix domain socket: {SocketPath}", _socketPath); 185_logger.LogInformation("Server shutdown requested"); 195_logger.LogInformation("Server stopped");
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)
ResourceLoggerForwarderServiceTests.cs (1)
117resourceLogger.LogInformation("Test information message");
tests\Shared\AsyncTestHelpers.cs (2)
222logger?.LogInformation("Start: {Message}", message); 233logger?.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)
53logger.LogInformation(new string('1', LongLineCharacters)); 54logger.LogInformation(new string('2', LongLineCharacters)); 55logger.LogInformation(new string('3', LongLineCharacters)); 56logger.LogInformation("Test1"); 57logger.LogInformation("Test2"); 106logger.LogInformation(new string('1', DashboardServiceImpl.LogMaxBatchCharacters)); 108logger.LogInformation(new string('2', LongLineCharacters)); 109logger.LogInformation(new string('3', LongLineCharacters)); 110logger.LogInformation(new string('4', LongLineCharacters)); 204logger.LogInformation("Publishing resource."); 210logger.LogInformation("Waiting for the resource with a command. Required so added resource is always in the service's initial data collection"); 221logger.LogInformation("Calling WatchResources."); 227logger.LogInformation("Reading result from writer."); 236logger.LogInformation($"Initial data count: {update.InitialData.Resources.Count}"); 239logger.LogInformation($"Commands count: {resourceData.Commands.Count}"); 484logger.LogInformation("Calling WatchInteractions."); 495logger.LogInformation("Reading result from writer."); 503logger.LogInformation("Send result to reader."); 555logger.LogInformation("Calling WatchInteractions."); 567logger.LogInformation("Reading result from writer."); 603logger.LogInformation("Calling WatchInteractions."); 615logger.LogInformation("Reading result from writer."); 623logger.LogInformation("Send result to reader."); 663logger.LogInformation("Calling WatchInteractions."); 701logger.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)
1173logger.LogInformation("Test log message from pipeline step"); 1207step1Logger.LogInformation("Message from step 1"); 1219step2Logger.LogInformation("Message from step 2"); 1259logger.LogInformation("About to fail"); 1305logger.LogInformation("Executing step {stepNumber}", stepNumber); 1371logger.LogInformation($"Information message");
Pipelines\PipelineLoggerProviderTests.cs (2)
99logger.LogInformation("Task 1 message"); 107logger.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)
222logger?.LogInformation("Start: {Message}", message); 233logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.Valkey.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
222logger?.LogInformation("Start: {Message}", message); 233logger?.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)
222logger?.LogInformation("Start: {Message}", message); 233logger?.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."); 205_logger.LogInformation("Shutdown requested."); 313initLogger.LogInformation(
TerminalHostControlListener.cs (1)
112_logger.LogInformation("Control listener bound to '{Path}'.", _socketPath);
TerminalReplica.cs (9)
204loggerFactory.CreateLogger<TerminalReplica>().LogInformation( 251_logger.LogInformation( 310_logger.LogInformation( 317_logger.LogInformation( 387_logger.LogInformation( 398_logger.LogInformation( 417_logger.LogInformation("DCP producer disconnected; replica will rebind."); 452_logger.LogInformation( 473_logger.LogInformation(
Aspire.TerminalHost.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
222logger?.LogInformation("Start: {Message}", message); 233logger?.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)
149context.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 (2)
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)
66logger.LogInformation($"Executing command {DotnetCommandName} {parameters}"); 96logger.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.Server.Kestrel.Transport.DirectTls (2)
Connection\DirectTlsConnectionListener.cs (1)
143_logger.LogInformation("DirectTls listener started with EPOLLEXCLUSIVE worker accept");
DirectTlsTransportFactory.cs (1)
177_logger.LogInformation("DirectTls listener bound for endpoint {Endpoint}.", endpoint);
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)
182_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)
539_context.Logger.LogInformation("Affected projects:"); 543_context.Logger.LogInformation(" {ProjectName}", projectName); 924_context.Logger.LogInformation(GetMessage(items, kind));
src\sdk\src\Dotnet.Watch\HotReloadClient\Web\AbstractBrowserRefreshServer.cs (2)
174logger.LogInformation("Connecting to the browser ..."); 197logger.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.ML.GenAI.Core (3)
Trainer\CausalLMSupervisedFineTuningTrainer.cs (3)
35this._logger?.LogInformation("Start training..."); 42this._logger?.LogInformation($"Epoch {i + 1}/{trainingOption.Epoch}"); 80_logger?.LogInformation($"Epoch {i + 1} loss: {losses.Average()}");
Microsoft.NET.Build.Containers (17)
AuthHandshakeMessageHandler.cs (1)
622_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 (13)
LargeTelemetryGenerator.cs (8)
61logger.LogInformation("Generating {TraceCount} traces with {SpansPerTrace} spans each.", options.TraceCount, options.SpansPerTrace); 68logger.LogInformation("Generating one trace with {SpanCount} spans.", options.LargeTraceSpanCount); 75logger.LogInformation("Generating {LogCount} structured logs.", options.StructuredLogCount); 82logger.LogInformation("Writing {LogCount} console logs through ILogger.", options.ConsoleLogCount); 86logger.LogInformation("Large console log {LogIndex}.", logIndex + 1); 98logger.LogInformation( 113logger.LogInformation("Large telemetry generation completed."); 392logger.LogInformation("{TelemetryCount} {TelemetryKind} added.", nextProgressCount, telemetryKind);
Program.cs (5)
217logger.LogInformation("Log entry {BatchIndex}-{LogEntryIndex}", i, j); 242logger.LogInformation("Log entry {BatchIndex}-{LogEntryIndex}: {Payload}", i, j, payload); 287logger.LogInformation("Writing logs canceled."); 300logger.LogInformation("This is log message {LogCount}.", logCount); 366logger.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] {userId} joined.");