940 references to LogInformation
aspire (2)
DotNetCliRunner.cs (2)
631logger.LogInformation("Adding package {PackageName} with version {PackageVersion} to project {ProjectFilePath}", packageName, packageVersion, projectFilePath.FullName); 647logger.LogInformation("Package {PackageName} with version {PackageVersion} added to project {ProjectFilePath}", packageName, packageVersion, projectFilePath.FullName);
Aspire.Dashboard (13)
Components\Pages\TraceDetail.razor.cs (3)
198Logger.LogInformation("Getting trace '{TraceId}'.", TraceId); 203Logger.LogInformation("Couldn't find trace '{TraceId}'.", TraceId); 227Logger.LogInformation("Trace '{TraceId}' has {SpanCount} spans.", _trace.TraceId, _trace.Spans.Count);
DashboardWebApplication.cs (4)
322_logger.LogInformation("Now listening on: {DashboardUri}", frontendEndpointInfo.GetResolvedAddress()); 328_logger.LogInformation("OTLP/gRPC listening on: {OtlpEndpointUri}", _otlpServiceGrpcEndPointAccessor().GetResolvedAddress()); 333_logger.LogInformation("OTLP/HTTP listening on: {OtlpEndpointUri}", _otlpServiceHttpEndPointAccessor().GetResolvedAddress()); 470logger.LogInformation("Aspire version: {Version}", informationalVersion);
Otlp\Model\OtlpApplication.cs (2)
178Context.Logger.LogInformation("Error adding summary metrics. Summary is not supported."); 182Context.Logger.LogInformation("Error adding exponential histogram metrics. Exponential histogram is not supported.");
src\Shared\LoggingHelpers.cs (1)
25logger.LogInformation(message, dashboardUrl);
Telemetry\DashboardTelemetrySender.cs (3)
47_logger.LogInformation("Starting sender loop."); 80_logger.LogInformation("Ending sender loop."); 126_logger.LogInformation("Telemetry is not configured.");
Aspire.Dashboard.Components.Tests (39)
Pages\ConsoleLogsTests.cs (30)
53logger.LogInformation($"Requesting logs for: {name}"); 104logger.LogInformation($"Requesting logs for: {name}"); 133logger.LogInformation("Waiting for selected resource."); 140logger.LogInformation("Waiting for finish message."); 159logger.LogInformation("Changing resource."); 165logger.LogInformation("Waiting for selected resource."); 212logger.LogInformation("Resource and subscription should be set immediately on first render."); 219logger.LogInformation("Log results are added to log viewer."); 260logger.LogInformation("Resource and subscription should be set immediately on first render."); 267logger.LogInformation("Throw error from console logs subscription."); 309logger.LogInformation("Resource and subscription should be set immediately on first render."); 318logger.LogInformation("Throw error from console logs subscription."); 356logger.LogInformation("Waiting for selected resource."); 360logger.LogInformation("Log results are added to log viewer."); 368logger.LogInformation("Clear current entries."); 376logger.LogInformation("New log results are added to log viewer."); 416logger.LogInformation("Waiting for selected resource."); 420logger.LogInformation("Log results are added to log viewer."); 432logger.LogInformation("New log results are added to log viewer."); 600logger.LogInformation("Check logs are empty."); 604logger.LogInformation("Pause logs."); 609logger.LogInformation("Wait for pause log."); 612logger.LogInformation("Adding filtered logs during pause."); 619logger.LogInformation("Assert that the only log is still the pause log."); 631logger.LogInformation("Resume logs."); 639logger.LogInformation("Assert that pause log has expected content."); 657logger.LogInformation("Write a new log after resume."); 661logger.LogInformation("Assert that log entries discarded aren't in log viewer and log entries that should be logged are in log viewer."); 675logger.LogInformation($"Log entries count: {logEntries.EntriesCount}"); 679logger.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)
139logger.LogInformation($"Assert row count for '{traceId}'"); 153logger.LogInformation($"Assert row count for '{traceId}'"); 207logger.LogInformation($"Assert row count for '{traceId}'"); 234logger.LogInformation($"Assert updated row count for '{traceId}'"); 289logger.LogInformation($"Assert row count for '{traceId}'"); 297logger.LogInformation($"Adding span for difference trace"); 317logger.LogInformation($"Assert not updated for '{traceId}'");
tests\Shared\AsyncTestHelpers.cs (2)
205logger?.LogInformation("Start: {Message}", message); 216logger?.LogInformation("End: {Message}", message);
Aspire.Dashboard.Tests (18)
Integration\OtlpGrpcServiceTests.cs (6)
175logger.LogInformation("Writing original JSON file."); 202logger.LogInformation("Options changed."); 218logger.LogInformation("Writing new JSON file."); 221logger.LogInformation("Waiting for options change."); 224logger.LogInformation("Assert new API key."); 228logger.LogInformation("Client sends new request with old API key.");
Integration\ServerRetryHelper.cs (4)
68logger.LogInformation("Searching for free port starting at {startingPort}.", startingPort); 83logger.LogInformation("Found {count} unavailable endpoints.", unavailableEndpoints.Count); 90logger.LogInformation("Port {i} free.", i); 95logger.LogInformation("Port {i} in use. End point: {match}", i, match);
Telemetry\TelemetryLoggerProviderTests.cs (1)
36circuitHostLogger.LogInformation("Test log message");
TelemetryRepositoryTests\LogTests.cs (5)
730logger.LogInformation("Writing log 1"); 750logger.LogInformation("Received log 1 callback"); 752logger.LogInformation("Writing log 2"); 771logger.LogInformation("Received log 2 callback"); 774logger.LogInformation("Elapsed time: {Elapsed}", elapsed);
tests\Shared\AsyncTestHelpers.cs (2)
205logger?.LogInformation("Start: {Message}", message); 216logger?.LogInformation("End: {Message}", message);
Aspire.Hosting (61)
ApplicationModel\ResourceCommandService.cs (4)
111logger.LogInformation("Executing command '{CommandName}'.", commandName); 128logger.LogInformation("Successfully executed command '{CommandName}'.", commandName); 133logger.LogInformation("Failure executing command '{CommandName}'. Error message: {ErrorMessage}", commandName, result.ErrorMessage); 144logger.LogInformation("Command '{CommandName}' not available.", commandName);
ApplicationModel\ResourceExtensions.cs (5)
446logger.LogInformation("Waiting for value from resource '{ResourceName}'", resource.Name); 450logger.LogInformation("Waiting for value for environment variable value '{Name}' from resource '{ResourceName}'", key, resource.Name); 455logger.LogInformation("Waiting for value for connection string from resource '{ResourceName}'", cs.Name); 461logger.LogInformation("Waiting for value from {ValueProvider}.", valueProvider.ToString()); 465logger.LogInformation("Waiting for value for environment variable value '{Name}' from {ValueProvider}.", key, valueProvider.ToString());
ApplicationModel\ResourceNotificationService.cs (6)
146resourceLogger.LogInformation("Waiting for resource '{Name}' to enter the '{State}' state.", dependency.Name, KnownResourceStates.Running); 196resourceLogger.LogInformation("Waiting for resource '{Name}' to become healthy.", displayName); 201resourceLogger.LogInformation("Waiting for resource ready to execute for '{Name}'.", displayName); 207resourceLogger.LogInformation("Finished waiting for resource '{Name}'.", displayName); 310resourceLogger.LogInformation("Waiting for resource '{Name}' to complete.", dependency.Name); 351resourceLogger.LogInformation("Finished waiting for resource '{Name}'.", displayName);
Dashboard\DashboardLifecycleHook.cs (1)
314distributedApplicationLogger.LogInformation("Now listening on: {DashboardUrl}", dashboardUrl.TrimEnd('/'));
Dcp\DcpHost.cs (1)
192_logger.LogInformation("Starting DCP with arguments: {Arguments}", dcpProcessSpec.Arguments);
Devcontainers\DevcontainerSettingsWriter.cs (1)
55logger.LogInformation("Port forwarding ({label}): {Url}", label, url);
DistributedApplicationLifecycle.cs (4)
25logger.LogInformation("Distributed application started. Press Ctrl+C to shut down."); 37logger.LogInformation("Aspire version: {Version}", informationalVersion); 42logger.LogInformation("Distributed application starting."); 43logger.LogInformation("Application host directory is: {AppHostDirectory}", configuration["AppHost:Directory"]);
Exec\ExecResourceManager.cs (1)
65_logger.LogInformation("Cancelled before exec resource was initialized.");
Orchestrator\ApplicationOrchestrator.cs (4)
313logger.LogInformation("Waiting for endpoints to be allocated for resource {ResourceName}", reference.Name); 316logger.LogInformation("Endpoints allocated for resource {ResourceName}", reference.Name); 327logger.LogInformation("Waiting for connection string to be available for resource {ResourceName}", reference.Name); 330logger.LogInformation("Connection string is available for resource {ResourceName}", reference.Name);
Orchestrator\ParameterProcessor.cs (1)
203.LogInformation("Parameter resource {ResourceName} has been resolved via user interaction.", parameter.Name);
Publishing\DockerContainerRuntime.cs (20)
80logger.LogInformation("docker buildx (stdout): {Output}", output); 84logger.LogInformation("docker buildx (stderr): {Error}", error); 90logger.LogInformation("Running Docker CLI with arguments: {ArgumentList}", spec.Arguments); 105logger.LogInformation("docker buildx for {ImageName} succeeded.", imageName); 153logger.LogInformation("docker container ls (stdout): {Output}", output); 157logger.LogInformation("docker container ls (stderr): {Error}", error); 163logger.LogInformation("Checking if Docker daemon is running with arguments: {ArgumentList}", dockerRunningSpec.Arguments); 176logger.LogInformation("Docker daemon is running."); 188logger.LogInformation("docker buildx version (stdout): {Output}", output); 192logger.LogInformation("docker buildx version (stderr): {Error}", error); 198logger.LogInformation("Checking Docker buildx with arguments: {ArgumentList}", buildxSpec.Arguments); 211logger.LogInformation("Docker buildx is available and running."); 225logger.LogInformation("docker buildx create (stdout): {Output}", output); 229logger.LogInformation("docker buildx create (stderr): {Error}", error); 235logger.LogInformation("Creating buildkit instance with arguments: {ArgumentList}", spec.Arguments); 250logger.LogInformation("Successfully created buildkit instance {BuilderName}.", builderName); 266logger.LogInformation("docker buildx rm (stdout): {Output}", output); 270logger.LogInformation("docker buildx rm (stderr): {Error}", error); 276logger.LogInformation("Removing buildkit instance with arguments: {ArgumentList}", spec.Arguments); 291logger.LogInformation("Successfully removed buildkit instance {BuilderName}.", builderName);
Publishing\ManifestPublisher.cs (1)
58_logger.LogInformation("Published manifest to: {ManifestPath}", fullyQualifiedPath);
Publishing\PodmanContainerRuntime.cs (8)
51logger.LogInformation("podman build (stdout): {Output}", output); 55logger.LogInformation("podman build (stderr): {Error}", error); 61logger.LogInformation("Running Podman CLI with arguments: {ArgumentList}", spec.Arguments); 76logger.LogInformation("Podman build for {ImageName} succeeded.", imageName); 103logger.LogInformation("podman container ls (stdout): {Output}", output); 107logger.LogInformation("podman container ls (stderr): {Error}", error); 113logger.LogInformation("Running Podman CLI with arguments: {ArgumentList}", spec.Arguments); 131logger.LogInformation("Podman is running and healthy.");
Publishing\ResourceContainerImageBuilder.cs (3)
182logger.LogInformation("Building container image for resource {Resource}", resource.Name); 288logger.LogInformation("dotnet publish {ProjectPath} (stdout): {Output}", projectMetadata.ProjectPath, output); 296logger.LogInformation(
src\Shared\LoggingHelpers.cs (1)
25logger.LogInformation(message, dashboardUrl);
Aspire.Hosting.Azure (18)
AzurePublishingContext.cs (1)
74Logger.LogInformation("No resources found in the model");
Provisioning\Internal\DefaultProvisioningContextProvider.cs (6)
198logger.LogInformation("Getting default subscription and tenant..."); 202logger.LogInformation("Default subscription: {name} ({subscriptionId})", subscriptionResource.DisplayName, subscriptionResource.Id); 203logger.LogInformation("Tenant: {tenantId}", tenantResource.TenantId); 239logger.LogInformation("Using existing resource group {rgName}.", resourceGroup.Name); 250logger.LogInformation("Creating resource group {rgName} in {location}...", resourceGroupName, location); 257logger.LogInformation("Resource group {rgName} created.", resourceGroup.Name);
Provisioning\Internal\DefaultTokenCredentialProvider.cs (2)
48_logger.LogInformation( 54_logger.LogInformation("Using {credentialType} for provisioning.", _credential.GetType().Name);
Provisioning\Internal\DefaultUserSecretsManager.cs (1)
64logger.LogInformation("Azure resource connection strings saved to user secrets.");
Provisioning\Provisioners\AzureProvisioner.cs (5)
210resourceLogger.LogInformation("Skipping {resourceName} because it is not a Bicep resource.", resource.AzureResource.Name); 217resourceLogger.LogInformation("Skipping {resourceName} because it is not configured to be provisioned.", resource.AzureResource.Name); 222resourceLogger.LogInformation("Using connection information stored in user secrets for {resourceName}.", resource.AzureResource.Name); 229resourceLogger.LogInformation("Resolving {resourceName} as existing resource...", resource.AzureResource.Name); 233resourceLogger.LogInformation("Provisioning {resourceName}...", resource.AzureResource.Name);
Provisioning\Provisioners\BicepProvisioner.cs (3)
163resourceLogger.LogInformation("Deploying {Name} to {ResourceGroup}", resource.Name, resourceGroup.Name); 178resourceLogger.LogInformation("Deployment started: {Url}", url); 193resourceLogger.LogInformation("Deployment of {Name} to {ResourceGroup} took {Elapsed}", resource.Name, resourceGroup.Name, sw.Elapsed);
Aspire.Hosting.Azure.AIFoundry (5)
AzureAIFoundryExtensions.cs (5)
188logger.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); 246logger.LogInformation("Model {Model} downloaded successfully ({ModelId}).", model, deployment.DeploymentName); 274logger.LogInformation("Failed to start {Model}. Error: {Error}", model, e.Message); 284logger.LogInformation("Failed to start {Model}. Error: {Error}", model, progress.ErrorMessage); 292logger.LogInformation("Downloading model {Model}: {Progress:F2}%", model, progress.Percentage);
Aspire.Hosting.Docker (1)
DockerComposeEnvironmentContext.cs (1)
19logger.LogInformation("Creating Docker Compose resource for {ResourceName}", resource.Name);
Aspire.Hosting.Kafka.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
205logger?.LogInformation("Start: {Message}", message); 216logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.Kubernetes (1)
KubernetesEnvironmentContext.cs (1)
22logger.LogInformation("Creating Kubernetes resource for {ResourceName}", resource.Name);
Aspire.Hosting.MySql.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
205logger?.LogInformation("Start: {Message}", message); 216logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.NodeJs.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
205logger?.LogInformation("Start: {Message}", message); 216logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.PostgreSQL.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
205logger?.LogInformation("Start: {Message}", message); 216logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.RabbitMQ.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
205logger?.LogInformation("Start: {Message}", message); 216logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.Testing.Tests (1)
ResourceLoggerForwarderServiceTests.cs (1)
99resourceLogger.LogInformation("Test information message");
Aspire.Hosting.Tests (53)
Dashboard\DashboardServiceTests.cs (23)
47logger.LogInformation(new string('1', LongLineCharacters)); 48logger.LogInformation(new string('2', LongLineCharacters)); 49logger.LogInformation(new string('3', LongLineCharacters)); 50logger.LogInformation("Test1"); 51logger.LogInformation("Test2"); 100logger.LogInformation(new string('1', DashboardServiceImpl.LogMaxBatchCharacters)); 102logger.LogInformation(new string('2', LongLineCharacters)); 103logger.LogInformation(new string('3', LongLineCharacters)); 104logger.LogInformation(new string('4', LongLineCharacters)); 167logger.LogInformation("Publishing resource."); 173logger.LogInformation("Waiting for the resource with a command. Required so added resource is always in the service's initial data collection"); 184logger.LogInformation("Calling WatchResources."); 191logger.LogInformation("Reading result from writer."); 194logger.LogInformation($"Initial data count: {update.InitialData.Resources.Count}"); 197logger.LogInformation($"Commands count: {resourceData.Commands.Count}"); 239logger.LogInformation("Calling WatchInteractions."); 250logger.LogInformation("Reading result from writer."); 258logger.LogInformation("Send result to reader."); 308logger.LogInformation("Calling WatchInteractions."); 320logger.LogInformation("Reading result from writer."); 328logger.LogInformation("Send result to reader."); 366logger.LogInformation("Calling WatchInteractions."); 402logger.LogInformation("Calling WatchInteractions.");
DistributedApplicationTests.cs (17)
135logger.LogInformation("Force resource to start."); 139logger.LogInformation("Stop resource."); 143logger.LogInformation("Start resource (into waiting state)"); 147logger.LogInformation("Force resource to start."); 197logger.LogInformation("Start explicit start resource."); 214logger.LogInformation("Stop resource."); 218logger.LogInformation("Start resource again"); 271logger.LogInformation("Start explicit start resource."); 287logger.LogInformation("Stop resource."); 291logger.LogInformation("Start resource again"); 352logger.LogInformation("Start explicit start resource."); 370logger.LogInformation("Stop resource."); 377logger.LogInformation("Start resource again"); 474logger.LogInformation("Make sure services A and C are running"); 490logger.LogInformation("Calling PID API at {Url}", url); 497logger.LogInformation("PID API returned new value: {PID}", pid); 501logger.LogInformation("Success! We heard from all {ReplicaCount} replicas.", replicaCount);
ResourceLoggerServiceTests.cs (11)
30logger.LogInformation("Hello, world!"); 70logger.LogInformation("Hello, world!"); 75logger.LogInformation("The third log"); 111logger.LogInformation("Hello, world!"); 141logger.LogInformation("The third log"); 157logger.LogInformation("Before watching!"); 173logger.LogInformation("While watching!"); 195logger.LogInformation("After watching!"); 204logger.LogInformation("While watching again!"); 232logger.LogInformation("Hello, world!"); 282logger.LogInformation("Hello, world!");
tests\Shared\AsyncTestHelpers.cs (2)
205logger?.LogInformation("Start: {Message}", message); 216logger?.LogInformation("End: {Message}", message);
Aspire.Hosting.Valkey.Tests (2)
tests\Shared\AsyncTestHelpers.cs (2)
205logger?.LogInformation("Start: {Message}", message); 216logger?.LogInformation("End: {Message}", message);
Aspire.Playground.Tests (8)
Infrastructure\DistributedApplicationExtensions.cs (6)
216logger.LogInformation("Checking if project '{ProjectName}' has a migration endpoint", projectName); 223logger.LogInformation("Project '{ProjectName}' does not have a migration endpoint", projectName); 228logger.LogInformation("Attempting to apply EF migrations for project '{ProjectName}'", projectName); 241logger.LogInformation("Found {DbContextCount} DbContext types in project '{ProjectName}'", dbContextTypes.Count(), projectName); 249logger.LogInformation("Applying migrations for DbContext '{DbContextType}' in project '{ProjectName}'", dbContextType.FullName, projectName); 255logger.LogInformation("Migrations applied for DbContext '{DbContextType}' in project '{ProjectName}'", dbContextType.FullName, projectName);
tests\Shared\AsyncTestHelpers.cs (2)
205logger?.LogInformation("Start: {Message}", message); 216logger?.LogInformation("End: {Message}", message);
AutobahnTestApp (1)
Startup.cs (1)
20logger.LogInformation("Received WebSocket request");
AzureFunctionsEndToEnd.Functions (4)
MyAzureBlobTrigger.cs (1)
16logger.LogInformation("C# blob trigger function invoked for 'blobs/{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.");
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");
BasicWebSite (1)
Filters\ServiceActionFilter.cs (1)
23_logger.LogInformation($"Executing {nameof(ServiceActionFilter)}.");
BasketService (4)
BasketService.cs (2)
61_logger.LogInformation("Checking out {Count} item(s) for BuyerId: {BuyerId}.", order.Items.Count, buyerId); 93_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.");
BuildValidator (19)
LocalReferenceResolver.cs (2)
68logger.LogInformation($"Searching {directory.FullName}"); 166_logger.LogInformation($@"Skipping ReadyToRun image ""{filePath}""");
Program.cs (17)
129logger.LogInformation($@"Using debug folder: ""{fullDebugPath}"""); 131logger.LogInformation($@"Cleaned debug folder: ""{fullDebugPath}"""); 145logger.LogInformation($@"""{artifactsDir.FullName}"""); 163logger.LogInformation("Assemblies to be validated"); 166logger.LogInformation($"\t{assemblyInfo.FilePath} - {assemblyInfo.Mvid}"); 189logger.LogInformation($"Skipping excluded file {filePath}"); 195logger.LogInformation($"Skipping non-pe file {filePath}"); 201logger.LogInformation($"Skipping ReadyToRun file {filePath}"); 207logger.LogInformation($"Skipping reference assembly {filePath}"); 214logger.LogInformation("Duplicate assembly path have same MVID"); 215logger.LogInformation($"\t{filePath}"); 216logger.LogInformation($"\t{assemblyInfo.FilePath}"); 252logger.LogInformation($@"Writing diffs to ""{Path.GetFullPath(debugPath)}"""); 264logger.LogInformation($"\t{diff.AssemblyInfo.FilePath}"); 369logger.LogInformation("No source link cdi found in pdb"); 380logger.LogInformation("Empty source link cdi found in pdb"); 387logger.LogInformation($@"""{link.Prefix}"": ""{link.Replace}""");
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}'");
CustomEncryptorSample (1)
CustomXmlEncryptor.cs (1)
24_logger.LogInformation("Not encrypting key");
CustomPolicyProvider (3)
Authorization\MinimumAgeAuthorizationHandler.cs (3)
47_logger.LogInformation("Minimum age authorization requirement {age} satisfied", requirement.Age); 52_logger.LogInformation("Current user's DateOfBirth claim ({dateOfBirth}) does not satisfy the minimum age authorization requirement {age}", 59_logger.LogInformation("No DateOfBirth claim present");
CustomResources.AppHost (4)
TalkingClockResource.cs (2)
70log.LogInformation("Starting Talking Clock..."); 95log.LogInformation("The time is {time}", DateTime.UtcNow);
TestResource.cs (2)
47logger.LogInformation("Starting test resource {ResourceName} with update interval {Interval} seconds", resource.Name, seconds); 65logger.LogInformation("Test resource {ResourceName} is now in state {State}", resource.Name, randomState);
EventHubsConsumer (3)
Processor.cs (3)
28logger.LogInformation("Starting processor..."); 32logger.LogInformation(arg.Data.EventBody.ToString()); 49logger.LogInformation("Stopping processor...");
HtmlGenerationWebSite (2)
TestCacheTagHelper.cs (2)
31_logger.LogInformation("Cache entry exists with key: " + cacheKey.GenerateKey()); 35_logger.LogInformation("Cache entry does NOT exist with key: " + cacheKey.GenerateKey());
http2cat (13)
Program.cs (8)
34h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 44h2Connection.Logger.LogInformation("Received headers in a single frame."); 50h2Connection.Logger.LogInformation($"{header.Key}: {header.Value}"); 58h2Connection.Logger.LogInformation("Received data in a single frame."); 60h2Connection.Logger.LogInformation(Encoding.UTF8.GetString(dataFrame.Payload.ToArray())); 67h2Connection.Logger.LogInformation("Received trailers in a single frame."); 74h2Connection.Logger.LogInformation($"{header.Key}: {header.Value}"); 79h2Connection.Logger.LogInformation("Connection stopped.");
src\Shared\Http2cat\Http2CatHostedService.cs (4)
70_logger.LogInformation($"Connecting to '{endpoint}'."); 77_logger.LogInformation($"Connected to '{endpoint}'."); 84_logger.LogInformation("Starting TLS handshake."); 106_logger.LogInformation($"TLS handshake completed successfully.");
src\Shared\Http2cat\Http2Utilities.cs (1)
907Logger.LogInformation("Received headers in a single frame.");
Identity.ExternalClaims (12)
Controllers\AccountController.cs (1)
32_logger.LogInformation("User logged out.");
Pages\Account\ExternalLogin.cshtml.cs (2)
86_logger.LogInformation("{Name} logged in with {LoginProvider} provider.", info.Principal.Identity.Name, info.LoginProvider); 134_logger.LogInformation("User created an account using {Name} provider.", info.LoginProvider);
Pages\Account\Login.cshtml.cs (1)
79_logger.LogInformation("User logged in.");
Pages\Account\LoginWith2fa.cshtml.cs (1)
82_logger.LogInformation("User with ID '{UserId}' logged in with 2fa.", user.Id);
Pages\Account\LoginWithRecoveryCode.cshtml.cs (1)
75_logger.LogInformation("User with ID '{UserId}' logged in with a recovery code.", user.Id);
Pages\Account\Manage\ChangePassword.cshtml.cs (1)
99_logger.LogInformation("User changed their password successfully.");
Pages\Account\Manage\Disable2fa.cshtml.cs (1)
59_logger.LogInformation("User with ID '{UserId}' has disabled 2fa.", _userManager.GetUserId(User));
Pages\Account\Manage\EnableAuthenticator.cshtml.cs (1)
101_logger.LogInformation("User with ID '{UserId}' has enabled 2FA with an authenticator app.", user.Id);
Pages\Account\Manage\GenerateRecoveryCodes.cshtml.cs (1)
47_logger.LogInformation("User with ID '{UserId}' has generated new 2FA recovery codes.", user.Id);
Pages\Account\Manage\ResetAuthenticator.cshtml.cs (1)
49_logger.LogInformation("User with ID '{UserId}' has reset their authentication app key.", user.Id);
Pages\Account\Register.cshtml.cs (1)
75_logger.LogInformation("User created a new account with password.");
IdentitySample.DefaultUI (1)
Areas\Identity\Pages\Account\Register.cshtml.cs (1)
93_logger.LogInformation("User created a new account with password.");
IIS.FunctionalTests (42)
Http2TrailersResetTests.cs (20)
200h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 213h2Connection.Logger.LogInformation("Connection stopped."); 228h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 240h2Connection.Logger.LogInformation("Connection stopped."); 255h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 274h2Connection.Logger.LogInformation("Connection stopped."); 289h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 301h2Connection.Logger.LogInformation("Connection stopped."); 316h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 333h2Connection.Logger.LogInformation("Connection stopped."); 348h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 369h2Connection.Logger.LogInformation("Connection stopped."); 384h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 394h2Connection.Logger.LogInformation("Connection stopped."); 410h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 421h2Connection.Logger.LogInformation("Connection stopped."); 435h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 450h2Connection.Logger.LogInformation("Connection stopped."); 464h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 481h2Connection.Logger.LogInformation("Connection stopped.");
src\Servers\IIS\IIS\test\Common.FunctionalTests\FrebTests.cs (2)
138result.Logger.LogInformation($"Checking if {expectedEvent.ToString()} exists."); 149result.Logger.LogInformation($"Number of freb files available {xmlFiles.Count}.");
src\Servers\IIS\IIS\test\Common.FunctionalTests\Http2Tests.cs (12)
69h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 90h2Connection.Logger.LogInformation("Connection stopped."); 106h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 128h2Connection.Logger.LogInformation("Connection stopped."); 149h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 198h2Connection.Logger.LogInformation("Connection stopped."); 219h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 267h2Connection.Logger.LogInformation("Connection stopped."); 281h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 312h2Connection.Logger.LogInformation("Connection stopped."); 337h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 349h2Connection.Logger.LogInformation("Connection stopped.");
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (1)
31logger.LogInformation("'{Message}', generated {Generated}, written {Written}", entry.Message, entry.TimeGenerated, entry.TimeWritten);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\PublishedApplicationPublisher.cs (2)
30logger.LogInformation("{PublishDir} doesn't exist falling back to solution based path {SolutionBasedDir}", solutionPath, solutionPath); 34logger.LogInformation("Using prepublished application from {PublishDir}", path);
src\Shared\Http2cat\Http2CatHostedService.cs (4)
70_logger.LogInformation($"Connecting to '{endpoint}'."); 77_logger.LogInformation($"Connected to '{endpoint}'."); 84_logger.LogInformation("Starting TLS handshake."); 106_logger.LogInformation($"TLS handshake completed successfully.");
src\Shared\Http2cat\Http2Utilities.cs (1)
907Logger.LogInformation("Received headers in a single frame.");
IIS.LongTests (8)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (1)
31logger.LogInformation("'{Message}', generated {Generated}, written {Written}", entry.Message, entry.TimeGenerated, entry.TimeWritten);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\PublishedApplicationPublisher.cs (2)
30logger.LogInformation("{PublishDir} doesn't exist falling back to solution based path {SolutionBasedDir}", solutionPath, solutionPath); 34logger.LogInformation("Using prepublished application from {PublishDir}", path);
src\Shared\Http2cat\Http2CatHostedService.cs (4)
70_logger.LogInformation($"Connecting to '{endpoint}'."); 77_logger.LogInformation($"Connected to '{endpoint}'."); 84_logger.LogInformation("Starting TLS handshake."); 106_logger.LogInformation($"TLS handshake completed successfully.");
src\Shared\Http2cat\Http2Utilities.cs (1)
907Logger.LogInformation("Received headers in a single frame.");
IIS.NewHandler.FunctionalTests (8)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (1)
31logger.LogInformation("'{Message}', generated {Generated}, written {Written}", entry.Message, entry.TimeGenerated, entry.TimeWritten);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\PublishedApplicationPublisher.cs (2)
30logger.LogInformation("{PublishDir} doesn't exist falling back to solution based path {SolutionBasedDir}", solutionPath, solutionPath); 34logger.LogInformation("Using prepublished application from {PublishDir}", path);
src\Shared\Http2cat\Http2CatHostedService.cs (4)
70_logger.LogInformation($"Connecting to '{endpoint}'."); 77_logger.LogInformation($"Connected to '{endpoint}'."); 84_logger.LogInformation("Starting TLS handshake."); 106_logger.LogInformation($"TLS handshake completed successfully.");
src\Shared\Http2cat\Http2Utilities.cs (1)
907Logger.LogInformation("Received headers in a single frame.");
IIS.NewShim.FunctionalTests (8)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (1)
31logger.LogInformation("'{Message}', generated {Generated}, written {Written}", entry.Message, entry.TimeGenerated, entry.TimeWritten);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\PublishedApplicationPublisher.cs (2)
30logger.LogInformation("{PublishDir} doesn't exist falling back to solution based path {SolutionBasedDir}", solutionPath, solutionPath); 34logger.LogInformation("Using prepublished application from {PublishDir}", path);
src\Shared\Http2cat\Http2CatHostedService.cs (4)
70_logger.LogInformation($"Connecting to '{endpoint}'."); 77_logger.LogInformation($"Connected to '{endpoint}'."); 84_logger.LogInformation("Starting TLS handshake."); 106_logger.LogInformation($"TLS handshake completed successfully.");
src\Shared\Http2cat\Http2Utilities.cs (1)
907Logger.LogInformation("Received headers in a single frame.");
IIS.ShadowCopy.Tests (3)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (1)
31logger.LogInformation("'{Message}', generated {Generated}, written {Written}", entry.Message, entry.TimeGenerated, entry.TimeWritten);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\PublishedApplicationPublisher.cs (2)
30logger.LogInformation("{PublishDir} doesn't exist falling back to solution based path {SolutionBasedDir}", solutionPath, solutionPath); 34logger.LogInformation("Using prepublished application from {PublishDir}", path);
IISExpress.FunctionalTests (22)
src\Servers\IIS\IIS\test\Common.FunctionalTests\FrebTests.cs (2)
138result.Logger.LogInformation($"Checking if {expectedEvent.ToString()} exists."); 149result.Logger.LogInformation($"Number of freb files available {xmlFiles.Count}.");
src\Servers\IIS\IIS\test\Common.FunctionalTests\Http2Tests.cs (12)
69h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 90h2Connection.Logger.LogInformation("Connection stopped."); 106h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 128h2Connection.Logger.LogInformation("Connection stopped."); 149h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 198h2Connection.Logger.LogInformation("Connection stopped."); 219h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 267h2Connection.Logger.LogInformation("Connection stopped."); 281h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 312h2Connection.Logger.LogInformation("Connection stopped."); 337h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 349h2Connection.Logger.LogInformation("Connection stopped.");
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (1)
31logger.LogInformation("'{Message}', generated {Generated}, written {Written}", entry.Message, entry.TimeGenerated, entry.TimeWritten);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\PublishedApplicationPublisher.cs (2)
30logger.LogInformation("{PublishDir} doesn't exist falling back to solution based path {SolutionBasedDir}", solutionPath, solutionPath); 34logger.LogInformation("Using prepublished application from {PublishDir}", path);
src\Shared\Http2cat\Http2CatHostedService.cs (4)
70_logger.LogInformation($"Connecting to '{endpoint}'."); 77_logger.LogInformation($"Connected to '{endpoint}'."); 84_logger.LogInformation("Starting TLS handshake."); 106_logger.LogInformation($"TLS handshake completed successfully.");
src\Shared\Http2cat\Http2Utilities.cs (1)
907Logger.LogInformation("Received headers in a single frame.");
InMemory.FunctionalTests (29)
EventSourceTests.cs (1)
460_logger?.LogInformation("{event}", JsonSerializer.Serialize(eventData, new JsonSerializerOptions
Http2\Http2EndToEndTests.cs (1)
36logger.LogInformation(expectedLogMessage);
Http2\Http2TestBase.cs (2)
1329Logger.LogInformation("Waiting for Connection task"); 1331Logger.LogInformation("Stopping Connection From ConnectionErrorAsync");
Http3\Http3ConnectionTests.cs (3)
538Logger.LogInformation($"Iteration {i}"); 572Logger.LogInformation($"Iteration {i}"); 842Logger.LogInformation($"Received notification that stream {index} disposed.");
Http3\Http3TimeoutTests.cs (2)
645Logger.LogInformation("Sending first request"); 656Logger.LogInformation("Sending second request");
KestrelMetricsTests.cs (15)
230Logger.LogInformation("Waiting for notification feature"); 239Logger.LogInformation("ConnectionClosedRequested"); 243Logger.LogInformation("Waiting for connection close request."); 246Logger.LogInformation("Receiving data and closing connection."); 256Logger.LogInformation("Finishing shutting down."); 289Logger.LogInformation("Server request delegate finishing."); 295Logger.LogInformation("Connection closed raised."); 307Logger.LogInformation("Shutting down server."); 775Logger.LogInformation("Server aborting request."); 812Logger.LogInformation("Client sending request."); 815Logger.LogInformation("Client validating response status code."); 818Logger.LogInformation("Client reading response until end."); 824Logger.LogInformation("Start server shutdown. The connection should be closed because it has no active requests."); 828Logger.LogInformation("Waiting for measurement."); 831Logger.LogInformation("Asserting metrics.");
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (1)
1158_testBase.Logger.LogInformation($"Initializing stream {streamId}");
src\Servers\Kestrel\shared\test\ServerRetryHelper.cs (4)
53logger.LogInformation("Searching for free port starting at {startingPort}.", startingPort); 68logger.LogInformation("Found {count} unavailable endpoints.", unavailableEndpoints.Count); 75logger.LogInformation("Port {i} free.", i); 80logger.LogInformation("Port {i} in use. End point: {match}", i, match);
Interop.FunctionalTests (63)
Http2\Http2RequestTests.cs (9)
245logger.LogInformation($"Server writing {randomBytes.Length} bytes response"); 250logger.LogInformation($"Server advancing {randomBytes.Length} bytes response"); 271logger.LogInformation("Waiting for request on server"); 274logger.LogInformation("Stopping server"); 297logger.LogInformation($"Sending request to '{request.RequestUri}'."); 303logger.LogInformation($"Started reading response content"); 312logger.LogInformation($"Received {readCount} bytes. Total {data.Count} bytes."); 317logger.LogInformation($"Error reading response. Total {data.Count} bytes."); 321logger.LogInformation($"Finished reading response content");
Http3\Http3RequestTests.cs (50)
139logger.LogInformation(expectedLogMessage); 463Logger.LogInformation("Server received cancellation"); 469Logger.LogInformation("Server reading content"); 475Logger.LogInformation("Server waiting for cancellation"); 499Logger.LogInformation("Client sending request headers"); 502Logger.LogInformation("Client sending request content"); 506Logger.LogInformation("Client waiting until content is read on server"); 509Logger.LogInformation("Client cancelling"); 569Logger.LogInformation("Client sending request headers"); 602Logger.LogInformation("Server writing content."); 607Logger.LogInformation("Server aborting."); 618Logger.LogInformation($"Client sending request {i}"); 632Logger.LogInformation($"Client awaiting response {i}"); 635Logger.LogInformation($"Client awaiting content {i}"); 979Logger.LogInformation("Server received request aborted."); 987Logger.LogInformation("Server reading request body."); 990Logger.LogInformation("Server writing response body."); 997Logger.LogInformation("Server waiting for cancellation."); 1034Logger.LogInformation("Client reading response."); 1037Logger.LogInformation("Client canceled request."); 1082Logger.LogInformation("Server reading request body."); 1091Logger.LogInformation("Server writing response body."); 1121Logger.LogInformation("Client sending headers."); 1124Logger.LogInformation("Client waiting for headers."); 1128Logger.LogInformation("Client writing request."); 1134Logger.LogInformation("Client canceled request."); 1265Logger.LogInformation("Client waiting for headers."); 1269Logger.LogInformation("Client canceled request."); 1297Logger.LogInformation("Server received request aborted."); 1328Logger.LogInformation("Client canceled request."); 1352Logger.LogInformation($"Server trailer count: {feature.Trailers.Count}"); 1382Logger.LogInformation($"Client trailer count: {response.TrailingHeaders.Count()}"); 1527Logger.LogInformation($"Server received request {requestCount}"); 1550Logger.LogInformation("Client sending request 1"); 1564Logger.LogInformation("Client sending request 2"); 1731Logger.LogInformation("Disposing client."); 1735Logger.LogInformation("Waiting for server to receive connection close."); 1830Logger.LogInformation("Sending request after connection abort."); 1917Logger.LogInformation($"Started waiting for logs: {message}"); 1924Logger.LogInformation($"Successfully received logs: {message}"); 2006Logger.LogInformation("Server sending response headers"); 2009Logger.LogInformation("Server reading"); 2058Logger.LogInformation("Stopping host"); 2070Logger.LogInformation("Getting read task"); 2074Logger.LogInformation("Waiting for error from read task"); 2122Logger.LogInformation("Server sending response headers"); 2125Logger.LogInformation("Server reading"); 2128Logger.LogInformation("Server writing"); 2158Logger.LogInformation("Stopping host"); 2164Logger.LogInformation("Client completing request stream");
src\Servers\Kestrel\shared\test\ServerRetryHelper.cs (4)
53logger.LogInformation("Searching for free port starting at {startingPort}.", startingPort); 68logger.LogInformation("Found {count} unavailable endpoints.", unavailableEndpoints.Count); 75logger.LogInformation("Port {i} free.", i); 80logger.LogInformation("Port {i} in use. End point: {match}", i, match);
Microsoft.AspNetCore.BrowserTesting (4)
BrowserTestOutputLogger.cs (2)
25_logger.LogInformation(message); 30_logger.LogInformation(string.Format(CultureInfo.InvariantCulture, format, args));
ContextInformation.cs (1)
34logger.LogInformation($"Network trace will be saved at '{_harPath}'");
PageInformation.cs (1)
46_logger.LogInformation($"Page video recorded at: {path}");
Microsoft.AspNetCore.Grpc.Swagger.Tests (1)
Services\GreeterService.cs (1)
21_logger.LogInformation($"Sending hello to {request.Name}");
Microsoft.AspNetCore.Hosting.Tests (12)
HostingApplicationDiagnosticsTests.cs (6)
65Logger.LogInformation("Act/Assert 1"); 66Logger.LogInformation(nameof(HostingApplication.CreateContext)); 75Logger.LogInformation(nameof(HostingApplication.DisposeContext)); 96Logger.LogInformation("Act/Assert 2"); 97Logger.LogInformation(nameof(HostingApplication.CreateContext)); 109Logger.LogInformation(nameof(HostingApplication.DisposeContext));
Internal\HostingEventSourceTests.cs (5)
206Logger.LogInformation(nameof(HostingEventSource.RequestStart)); 213Logger.LogInformation(nameof(HostingEventSource.RequestStop)); 220Logger.LogInformation(nameof(HostingEventSource.RequestStart)); 227Logger.LogInformation(nameof(HostingEventSource.RequestFailed)); 229Logger.LogInformation(nameof(HostingEventSource.RequestStop));
WebHostBuilderTests.cs (1)
1069logger.LogInformation("From startup");
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.InternalTesting.Tests (26)
AssemblyTestLogTests.cs (19)
53logger.LogInformation("Created test log in {baseDirectory}", tempDir); 63testLogger.LogInformation("Information!"); 70logger.LogInformation("Finished test log in {baseDirectory}", tempDir); 82logger.LogInformation("Information!"); 131logger.LogInformation("Created test log in {baseDirectory}", tempDir); 141testLogger.LogInformation("Information!"); 146logger.LogInformation("Finished test log in {baseDirectory}", tempDir); 201logger.LogInformation("Created test log in {baseDirectory}", tempDir); 211testLogger.LogInformation("Information!"); 219logger.LogInformation("Finished test log in {baseDirectory}", tempDir); 247logger.LogInformation("Created test log in {baseDirectory}", tempDir); 257testLogger.LogInformation("Information!"); 264logger.LogInformation("Finished test log in {baseDirectory}", tempDir); 282logger.LogInformation("Created test log in {baseDirectory}", tempDir); 291testLoggerFactory.CreateLogger("TestLogger").LogInformation("Information!"); 295logger.LogInformation("Finished test log in {baseDirectory}", tempDir); 324logger.LogInformation("Created test log in {baseDirectory}", tempDir); 335testLoggerFactory.CreateLogger("TestLogger").LogInformation("Information!"); 340logger.LogInformation("Finished test log in {baseDirectory}", tempDir);
LoggedTestXunitTests.cs (3)
70Logger.LogInformation("Information"); 94Logger.LogInformation("Information"); 139Logger.LogInformation("Information");
XunitLoggerProviderTest.cs (4)
23logger.LogInformation("This is some great information"); 41logger.LogInformation("This is some great information"); 55logger.LogInformation("This is a" + Environment.NewLine + "multi-line" + Environment.NewLine + "message"); 77logger.LogInformation("This is a" + Environment.NewLine + "multi-line" + Environment.NewLine + "message");
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (45)
Http2Tests.cs (40)
47h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 59h2Connection.Logger.LogInformation("Connection stopped."); 80h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 102h2Connection.Logger.LogInformation("Connection stopped."); 130h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 150h2Connection.Logger.LogInformation("Connection stopped."); 180h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 214h2Connection.Logger.LogInformation("Connection stopped."); 245h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 278h2Connection.Logger.LogInformation("Connection stopped."); 297h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 312h2Connection.Logger.LogInformation("Connection stopped."); 333h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 357h2Connection.Logger.LogInformation("Connection stopped."); 377h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 396h2Connection.Logger.LogInformation("Connection stopped."); 416h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 435h2Connection.Logger.LogInformation("Connection stopped."); 455h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 509h2Connection.Logger.LogInformation("Connection stopped."); 528h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 540h2Connection.Logger.LogInformation("Connection stopped."); 562h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 574h2Connection.Logger.LogInformation("Connection stopped."); 594h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 606h2Connection.Logger.LogInformation("Connection stopped."); 679h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 689h2Connection.Logger.LogInformation("Connection stopped."); 721h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 736h2Connection.Logger.LogInformation("Connection stopped."); 768h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 786h2Connection.Logger.LogInformation("Connection stopped."); 820h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 838h2Connection.Logger.LogInformation("Connection stopped."); 874h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 884h2Connection.Logger.LogInformation("Connection stopped."); 922h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 933h2Connection.Logger.LogInformation("Connection stopped."); 972h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 991h2Connection.Logger.LogInformation("Connection stopped.");
src\Shared\Http2cat\Http2CatHostedService.cs (4)
70_logger.LogInformation($"Connecting to '{endpoint}'."); 77_logger.LogInformation($"Connected to '{endpoint}'."); 84_logger.LogInformation("Starting TLS handshake."); 106_logger.LogInformation($"TLS handshake completed successfully.");
src\Shared\Http2cat\Http2Utilities.cs (1)
907Logger.LogInformation("Received headers in a single frame.");
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.IntegrationTesting.IIS (24)
IISDeployer.cs (13)
79Logger.LogInformation(Environment.OSVersion.ToString()); 116Logger.LogInformation("Successfully finished IIS application directory setup."); 191Logger.LogInformation($"Debug log file {file} found but was empty"); 197Logger.LogInformation(line); 232Logger.LogInformation("W3SVC status " + serviceController.Status); 237Logger.LogInformation("Starting W3SVC"); 259Logger.LogInformation($"Starting pool, state: {state}"); 265Logger.LogInformation($"Starting site, state: {state}"); 289Logger.LogInformation("Site has started."); 339Logger.LogInformation("applicationhost.config path {configPath}", _configPath); 394Logger.LogInformation($"Stopping site, state: {state}"); 404Logger.LogInformation($"Stopping pool, state: {state}"); 447Logger.LogInformation($"Site has stopped successfully.");
IISExpressDeployer.cs (11)
50Logger.LogInformation(Environment.OSVersion.ToString()); 84Logger.LogInformation("Executing: {exe} {args}", executableName, executableArgs); 89Logger.LogInformation("ContentRoot: {path}", DeploymentParameters.ApplicationPath); 98Logger.LogInformation("Application ready at URL: {appUrl}", actualUri); 167Logger.LogInformation("Attempting to start IIS Express on port: {port}", port); 174Logger.LogInformation("Executing command : {iisExpress} {parameters}", iisExpressPath, parameters); 223Logger.LogInformation("iisexpress Process {pid} shut down", process.Id); 231Logger.LogInformation("iisexpress Process {pid} started", process.Id); 245Logger.LogInformation("iisexpress Process {pid} failed to bind to port {port}, trying again", process.Id, port); 262Logger.LogInformation("Started iisexpress successfully. Process Id : {processId}, Port: {port}", _hostProcess.Id, port); 490Logger.LogInformation($"Sending shutdown request to {pid}");
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.Core.Tests (8)
HeartbeatTests.cs (4)
47Logger.LogInformation($"Heartbeat split: {split.TotalMilliseconds}ms"); 55Logger.LogInformation("Extra OnHeartbeat call()."); 60Logger.LogInformation($"Heartbeat run {heartbeatCallCount} times. Notifying test."); 72Logger.LogInformation($"Starting heartbeat dispose.");
src\Servers\Kestrel\shared\test\ServerRetryHelper.cs (4)
53logger.LogInformation("Searching for free port starting at {startingPort}.", startingPort); 68logger.LogInformation("Found {count} unavailable endpoints.", unavailableEndpoints.Count); 75logger.LogInformation("Port {i} free.", i); 80logger.LogInformation("Port {i} in use. End point: {match}", i, match);
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (1)
1158_testBase.Logger.LogInformation($"Initializing stream {streamId}");
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (53)
QuicConnectionContextTests.cs (23)
588Logger.LogInformation("Waiting for all connections to be received by the server."); 592Logger.LogInformation("Waiting for all stream tasks."); 594Logger.LogInformation("Stream tasks finished."); 604logger.LogInformation($"{StreamId(streamIndex)}: Client opening outbound stream."); 606logger.LogInformation($"{StreamId(streamIndex)}: Client writing to stream."); 609logger.LogInformation($"{StreamId(streamIndex)}: Server accepting incoming stream."); 611logger.LogInformation($"{StreamId(streamIndex)}: Server reading data."); 616logger.LogInformation($"{StreamId(streamIndex)}: Server verifying all data received."); 624logger.LogInformation($"{StreamId(streamIndex)}: Increasing active concurrent connections to {requestState.ActiveConcurrentConnections}."); 627logger.LogInformation($"{StreamId(streamIndex)}: All connections on server."); 635logger.LogInformation($"{StreamId(streamIndex)}: Server completing reading and writing."); 639logger.LogInformation($"{StreamId(streamIndex)}: Client verifying all data received."); 643logger.LogInformation($"{StreamId(streamIndex)}: Diposing {nameof(QuicStreamContext)}."); 676Logger.LogInformation("Client starting stream 1"); 680Logger.LogInformation("Server accept stream 1"); 683Logger.LogInformation("Server reading stream 1"); 694Logger.LogInformation("Server complete stream 1"); 698Logger.LogInformation("Server disposing stream 1"); 704Logger.LogInformation("Client starting stream 2"); 708Logger.LogInformation("Server accept stream 2"); 711Logger.LogInformation("Server reading stream 2"); 722Logger.LogInformation("Server complete stream 2"); 726Logger.LogInformation("Server disposing stream 2");
QuicConnectionListenerTests.cs (3)
72Logger.LogInformation("Client creating successful connection 1"); 84Logger.LogInformation("Client creating unsuccessful connection 2"); 98Logger.LogInformation("Client creating successful connection 3");
QuicStreamContextTests.cs (16)
115Logger.LogInformation("Client starting stream."); 121Logger.LogInformation("Server accepted stream."); 127Logger.LogInformation("Server writing a large response."); 131Logger.LogInformation("Server complete reading and writing."); 135Logger.LogInformation("Client wait to finish reading."); 141Logger.LogInformation("Server starts disposing."); 149Logger.LogInformation("Wait for server finish disposing."); 183Logger.LogInformation("Client starting stream."); 188Logger.LogInformation("Server accepted stream."); 196Logger.LogInformation("Client starting to read."); 199Logger.LogInformation("Server sending data."); 202Logger.LogInformation("Server completing pipes."); 206Logger.LogInformation("Client reading until end of stream."); 213Logger.LogInformation("Server waiting for send and receiving loops to complete."); 218Logger.LogInformation("Server disposing stream."); 463Logger.LogInformation("Server aborting stream");
QuicTestHelpers.cs (7)
145logger.LogInformation("Client starting stream."); 148logger.LogInformation("Client sending data."); 151logger.LogInformation("Server accepting stream."); 154logger.LogInformation("Server reading data."); 163logger.LogInformation("Server completing input and output."); 170logger.LogInformation("Server verifying stream is finished."); 175logger.LogInformation("Server disposing stream.");
src\Servers\Kestrel\shared\test\ServerRetryHelper.cs (4)
53logger.LogInformation("Searching for free port starting at {startingPort}.", startingPort); 68logger.LogInformation("Found {count} unavailable endpoints.", unavailableEndpoints.Count); 75logger.LogInformation("Port {i} free.", i); 80logger.LogInformation("Port {i} in use. End point: {match}", i, match);
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (6)
HubConnectionTests.cs (6)
328logger.LogInformation("Closed event triggered"); 331logger.LogInformation("Restarting connection"); 333logger.LogInformation("Restarted connection"); 351logger.LogInformation("Stopping connection"); 354logger.LogInformation("Waiting for reconnect"); 356logger.LogInformation("Reconnection complete");
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (3)
Docker.cs (3)
121logger.LogInformation("Starting docker container"); 147logger.LogInformation("Stopping docker container"); 214LogIfNotNull(logger.LogInformation, $"'{prefix}' stdout: {{0}}", a.Data);
Microsoft.AspNetCore.SignalR.Tests (54)
EndToEndTests.cs (49)
99logger.LogInformation("Connecting WebSocket to {socketUrl}", socketUrl); 103logger.LogInformation("Sending {length} byte frame", bytes.Length); 106logger.LogInformation("Receiving frame"); 109logger.LogInformation("Received {length} byte frame", result.Count); 113logger.LogInformation("Closing socket"); 115logger.LogInformation("Waiting for close"); 119logger.LogInformation("Closed socket"); 137logger.LogInformation("Connecting WebSocket to {socketUrl}", socketUrl); 141logger.LogInformation("Sending {length} byte frame", bytes.Length); 145logger.LogInformation("Receiving frame"); 148logger.LogInformation("Received {length} byte frame", result.Count); 152logger.LogInformation("Closing socket"); 154logger.LogInformation("Waiting for close"); 158logger.LogInformation("Closed socket"); 205logger.LogInformation("Disposing Connection"); 207logger.LogInformation("Disposed Connection"); 270logger.LogInformation("Starting connection to {url}", url); 272logger.LogInformation("Started connection to {url}", url); 276logger.LogInformation("Sending {length} byte message", bytes.Length); 290logger.LogInformation("Sent message"); 292logger.LogInformation("Receiving message"); 294logger.LogInformation("Completed receive"); 303logger.LogInformation("Disposing Connection"); 305logger.LogInformation("Disposed Connection"); 327logger.LogInformation("Starting connection to {url}", url); 329logger.LogInformation("Started connection to {url}", url); 335logger.LogInformation("Sending {length} byte message", bytes.Length); 337logger.LogInformation("Sent message"); 342logger.LogInformation("Receiving message"); 346logger.LogInformation("Completed receive"); 364logger.LogInformation("Disposing Connection"); 366logger.LogInformation("Disposed Connection"); 445logger.LogInformation("Starting connection to {url}", url); 455logger.LogInformation("Disposing Connection"); 457logger.LogInformation("Disposed Connection"); 498logger.LogInformation("Starting connection to {url}", url); 500logger.LogInformation("Connected to {url}", url); 504logger.LogInformation("Disposing Connection"); 506logger.LogInformation("Disposed Connection"); 567logger.LogInformation("Starting connection to {url}", url); 590logger.LogInformation("Disposing Connection"); 592logger.LogInformation("Disposed Connection"); 619logger.LogInformation("Starting connection to {url}", url); 629logger.LogInformation("Disposing Connection"); 631logger.LogInformation("Disposed Connection"); 670logger.LogInformation("Starting connection to {url}", url); 672logger.LogInformation("Connected to {url}", url); 676logger.LogInformation("Disposing Connection"); 678logger.LogInformation("Disposed Connection");
NativeAotTests.cs (5)
197logger.LogInformation("TaskMethod called"); 203logger.LogInformation("ValueTaskMethod called"); 210logger.LogInformation("CustomTaskMethod called"); 349logger.LogInformation("Received: {item}", item); 360logger.LogInformation("Received: {item}", item);
Microsoft.AspNetCore.SignalR.Tests.Utils (6)
ServerLogScope.cs (2)
33_scopeLogger.LogInformation("Server log scope started."); 67_scopeLogger.LogInformation("Server log scope stopped.");
src\Shared\SignalR\InProcessTestServer.cs (4)
114_logger.LogInformation("Starting test server..."); 126_logger.LogInformation("Test Server started"); 134_logger.LogInformation("Test server shut down"); 162_logger.LogInformation("Start shutting down test server");
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.AspNetCore.Tests (3)
WebApplicationTests.cs (2)
1632logger.LogInformation(guid); 1652logger.LogInformation(guid);
WebHostTests.cs (1)
106logger.LogInformation("Request starting");
Microsoft.AspNetCore.WebSockets.ConformanceTests (3)
Autobahn\AutobahnTester.cs (2)
43_logger.LogInformation("Using 'wstest' from: {WsTestPath}", Wstest.Default.Location); 44_logger.LogInformation("Now launching Autobahn Test Suite. This will take a while.");
Autobahn\Executable.cs (1)
52process.OutputDataReceived += (_, a) => LogIfNotNull(logger.LogInformation, "stdout: {0}", a.Data);
Microsoft.CodeAnalysis.LanguageServer (11)
DotnetCliHelper.cs (2)
144_logger.LogInformation("Using dotnet executable configured on the PATH"); 154_logger.LogInformation("Could not find dotnet executable from PATH");
FileBasedPrograms\FileBasedProgramsProjectSystem.cs (1)
141_logger.LogInformation($"Failed to obtain virtual project for '{documentPath}' using dotnet run-api. Falling back to directly creating the virtual project.");
HostWorkspace\BinLogPathProvider.cs (1)
46_logger.LogInformation($"Logging design-time builds to {binaryLogPath}");
HostWorkspace\LanguageServerProjectLoader.cs (2)
173_logger.LogInformation(string.Format(LanguageServerResources.Completed_reload_of_all_projects_in_0, stopwatch.Elapsed)); 298_logger.LogInformation(string.Format(LanguageServerResources.Successfully_completed_load_of_0, projectPath));
HostWorkspace\LanguageServerProjectSystem.cs (1)
58_logger.LogInformation(string.Format(LanguageServerResources.Loading_0, solutionFilePath));
HostWorkspace\WorkspaceProjectFactoryService.cs (1)
40_logger.LogInformation(string.Format(LanguageServerResources.Project_0_loaded_by_CSharp_Dev_Kit, creationInfo.FilePath));
Logging\LspServiceLogger.cs (1)
38public override void LogInformation(string message, params object[] @params) => _hostLogger.LogInformation(message, @params);
Program.cs (2)
72logger.LogInformation("Server started with process ID {processId}", Environment.ProcessId); 153logger.LogInformation("Language server initialized");
Microsoft.CodeAnalysis.LanguageServer.UnitTests (2)
Utilities\AbstractLanguageServerClientTests.TestLspClient.cs (2)
183_loggerFactory.CreateLogger("LSP STDOUT").LogInformation(e.Data); 188_loggerFactory.CreateLogger("LSP STDERR").LogInformation(e.Data);
Microsoft.CodeAnalysis.Rebuild (1)
MetadataCompilationOptions.cs (1)
27logger.LogInformation($"{optionName} - {value}");
Microsoft.Extensions.AI.Evaluation.Console (12)
Commands\CleanCacheCommand.cs (3)
26logger.LogInformation("Storage root path: {storageRootPath}", storageRootPath); 27logger.LogInformation("Deleting expired cache entries..."); 33logger.LogInformation("Azure Storage endpoint: {endpointUri}", endpointUri);
Commands\CleanResultsCommand.cs (4)
31logger.LogInformation("Storage root path: {storageRootPath}", storageRootPath); 37logger.LogInformation("Azure Storage endpoint: {endpointUri}", endpointUri); 52logger.LogInformation("Deleting all results..."); 58logger.LogInformation("Deleting all results except the {lastN} most recent ones...", lastN);
Commands\ReportCommand.cs (4)
36logger.LogInformation("Storage root path: {storageRootPath}", storageRootPath); 42logger.LogInformation("Azure Storage endpoint: {endpointUri}", endpointUri); 75logger.LogInformation("Execution: {executionName} Scenario: {scenarioName} Iteration: {iterationName}", result.ExecutionName, result.ScenarioName, result.IterationName); 94logger.LogInformation("Report: {outputFilePath} [{format}]", outputFilePath, format);
Program.cs (1)
29logger.LogInformation("{banner}", Banner);
Microsoft.Extensions.Diagnostics.Testing.Tests (7)
Logging\FakeLogCollectorTests.cs (4)
49logger.LogInformation("Hello world!"); 91logger.LogInformation("Hello world!"); 130logger.LogInformation("Hello world!"); 162logger.LogInformation("Hello world!");
Logging\FakeLoggerTests.cs (3)
29logger.LogInformation("Hello"); 212logger.LogInformation("M2"); 279logger.LogInformation("Main message");
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 (15)
Logging\ExtendedLoggerFactoryTests.cs (14)
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");
Logging\ExtendedLoggerTests.cs (1)
663logger.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()}");
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");
MinimalSample (1)
Program.cs (1)
12app.Logger.LogInformation($"Current process ID: {Environment.ProcessId}");
MinimalSampleOwin (1)
Program.cs (1)
13app.Logger.LogInformation($"Current process ID: {Environment.ProcessId}");
Nats.Backend (1)
Program.cs (1)
31logger.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());
RateLimitingSample (1)
SampleRateLimiterPolicy.cs (1)
18logger.LogInformation($"Request rejected by {nameof(SampleRateLimiterPolicy)}");
RazorPagesWebSite (1)
Pages\CustomModelTypeModel.cshtml.cs (1)
69_logger.LogInformation(typeof(TUser).Name);
Sandbox (2)
Services\GreeterService.cs (2)
31_logger.LogInformation($"Sending hello to {request.Name}"); 37_logger.LogInformation($"Sending hello to {request.Name} from {request.From}");
Seq.ApiService (1)
Program.cs (1)
21app.Logger.LogInformation("Range is between {Min} and {Max}", min, max);
ServerComparison.FunctionalTests (14)
NtlmAuthenticationTest.cs (6)
61logger.LogInformation("Testing /Anonymous"); 66logger.LogInformation("Testing /Restricted"); 80logger.LogInformation("Testing /Forbidden"); 84logger.LogInformation("Enabling Default Credentials"); 89logger.LogInformation("Testing /Restricted"); 95logger.LogInformation("Testing /Forbidden");
ResponseCompressionTests.cs (2)
166logger.LogInformation("Testing /NoAppCompression"); 198logger.LogInformation($"Testing /{url}");
ResponseTests.cs (6)
128logger.LogInformation("Testing ContentLength"); 153logger.LogInformation("Testing Http11ConnectionClose"); 173logger.LogInformation("Testing Http10ConnectionClose"); 198logger.LogInformation("Testing Chunked"); 223logger.LogInformation("Testing ManuallyChunked"); 248logger.LogInformation("Testing ManuallyChunkedAndClose");
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...");
SignalR.Client.FunctionalTestApp (2)
Startup.cs (2)
125logger.LogInformation("Setting CORS headers."); 144logger.LogInformation("Setting '204' CORS response.");
Sockets.FunctionalTests (6)
src\Servers\Kestrel\test\FunctionalTests\ResponseTests.cs (6)
525appLogger.LogInformation("Request received"); 553appLogger.LogInformation("Wrote {total} bytes", chunkSize * i); 569logger.LogInformation("Sending request"); 576logger.LogInformation("Sent request"); 579logger.LogInformation("Waiting for connection to abort."); 597logger.LogInformation("Connection was aborted after {totalMilliseconds}ms.", sw.ElapsedMilliseconds);
Stress.ApiService (4)
Program.cs (4)
139logger.LogInformation("Log entry {BatchIndex}-{LogEntryIndex}", i, j); 172logger.LogInformation("Writing logs canceled."); 185logger.LogInformation("This is log message {LogCount}.", logCount); 251logger.LogInformation(@"XML large content: {XmlLarge}
Stress.AppHost (5)
InteractionCommands.cs (3)
94logger.LogInformation("Input: {Label} = {Value}", input.Label, input.Value); 163logger.LogInformation("Input: {Label} = {Value}", updatedInput.Label, updatedInput.Value); 197logger.LogInformation("Input: {Label} = {Value}", input.Label, input.Value);
TestResource.cs (2)
65logger.LogInformation("Starting test resource {ResourceName} with update interval {Interval} seconds", resource.Name, seconds); 83logger.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");
Templates.Blazor.Tests (6)
src\ProjectTemplates\Shared\AspNetProcess.cs (4)
82logger.LogInformation($"AspNetProcess - process: {process} arguments: {arguments}"); 93logger?.LogInformation("AspNetProcess - process started"); 97logger?.LogInformation("AspNetProcess - Getting listening uri"); 101logger?.LogInformation($"AspNetProcess - Got {ListeningUri}");
src\ProjectTemplates\Shared\TestOutputLogger.cs (2)
21_logger.LogInformation(message); 28_logger.LogInformation(string.Format(CultureInfo.InvariantCulture, format, args));
Templates.Blazor.WebAssembly.Auth.Tests (6)
src\ProjectTemplates\Shared\AspNetProcess.cs (4)
82logger.LogInformation($"AspNetProcess - process: {process} arguments: {arguments}"); 93logger?.LogInformation("AspNetProcess - process started"); 97logger?.LogInformation("AspNetProcess - Getting listening uri"); 101logger?.LogInformation($"AspNetProcess - Got {ListeningUri}");
src\ProjectTemplates\Shared\TestOutputLogger.cs (2)
21_logger.LogInformation(message); 28_logger.LogInformation(string.Format(CultureInfo.InvariantCulture, format, args));
Templates.Blazor.WebAssembly.Tests (6)
src\ProjectTemplates\Shared\AspNetProcess.cs (4)
82logger.LogInformation($"AspNetProcess - process: {process} arguments: {arguments}"); 93logger?.LogInformation("AspNetProcess - process started"); 97logger?.LogInformation("AspNetProcess - Getting listening uri"); 101logger?.LogInformation($"AspNetProcess - Got {ListeningUri}");
src\ProjectTemplates\Shared\TestOutputLogger.cs (2)
21_logger.LogInformation(message); 28_logger.LogInformation(string.Format(CultureInfo.InvariantCulture, format, args));
Templates.Mvc.Tests (6)
src\ProjectTemplates\Shared\AspNetProcess.cs (4)
82logger.LogInformation($"AspNetProcess - process: {process} arguments: {arguments}"); 93logger?.LogInformation("AspNetProcess - process started"); 97logger?.LogInformation("AspNetProcess - Getting listening uri"); 101logger?.LogInformation($"AspNetProcess - Got {ListeningUri}");
src\ProjectTemplates\Shared\TestOutputLogger.cs (2)
21_logger.LogInformation(message); 28_logger.LogInformation(string.Format(CultureInfo.InvariantCulture, format, args));
Templates.Tests (6)
src\ProjectTemplates\Shared\AspNetProcess.cs (4)
82logger.LogInformation($"AspNetProcess - process: {process} arguments: {arguments}"); 93logger?.LogInformation("AspNetProcess - process started"); 97logger?.LogInformation("AspNetProcess - Getting listening uri"); 101logger?.LogInformation($"AspNetProcess - Got {ListeningUri}");
src\ProjectTemplates\Shared\TestOutputLogger.cs (2)
21_logger.LogInformation(message); 28_logger.LogInformation(string.Format(CultureInfo.InvariantCulture, format, args));
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.");