712 references to LogInformation
Aspire.Dashboard (5)
DashboardWebApplication.cs (4)
299_logger.LogInformation("Now listening on: {DashboardUri}", frontendEndpointInfo.GetResolvedAddress()); 314_logger.LogInformation("OTLP/gRPC listening on: {OtlpEndpointUri}", _otlpServiceGrpcEndPointAccessor().GetResolvedAddress()); 319_logger.LogInformation("OTLP/HTTP listening on: {OtlpEndpointUri}", _otlpServiceHttpEndPointAccessor().GetResolvedAddress()); 459logger.LogInformation("Aspire version: {Version}", informationalVersion);
src\Shared\LoggingHelpers.cs (1)
23logger.LogInformation(message, $"{firstDashboardUrl.GetLeftPart(UriPartial.Authority)}/login?t={token}");
Aspire.Dashboard.Components.Tests (5)
Pages\ConsoleLogsTests.cs (5)
65logger.LogInformation("Console log page is waiting for resource."); 74logger.LogInformation("Waiting for selected resource."); 84logger.LogInformation("Waiting for finish message."); 126logger.LogInformation("Resource and subscription should be set immediately on first render."); 133logger.LogInformation("Log results are added to log viewer.");
Aspire.Dashboard.Tests (17)
Integration\OtlpGrpcServiceTests.cs (6)
174logger.LogInformation("Writing original JSON file."); 201logger.LogInformation("Options changed."); 217logger.LogInformation("Writing new JSON file."); 220logger.LogInformation("Waiting for options change."); 223logger.LogInformation("Assert new API key."); 227logger.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);
TelemetryRepositoryTests\LogTests.cs (5)
689logger.LogInformation("Writing log 1"); 709logger.LogInformation("Received log 1 callback"); 711logger.LogInformation("Writing log 2"); 730logger.LogInformation("Received log 2 callback"); 733logger.LogInformation("Elapsed time: {Elapsed}", elapsed);
tests\Shared\AsyncTestHelpers.cs (2)
19logger?.LogInformation("Start: " + message); 30logger?.LogInformation("End: " + message);
Aspire.Hosting (14)
ApplicationModel\ResourceNotificationService.cs (5)
126resourceLogger.LogInformation("Waiting for resource '{Name}' to enter the '{State}' state.", dependency.Name, KnownResourceStates.Running); 158resourceLogger.LogInformation("Waiting for resource '{Name}' to become healthy.", dependency.Name); 162resourceLogger.LogInformation("Finished waiting for resource '{Name}'.", dependency.Name); 194resourceLogger.LogInformation("Waiting for resource '{Name}' to complete.", dependency.Name); 224resourceLogger.LogInformation("Finished waiting for resource '{Name}'.", dependency.Name);
Dashboard\DashboardServiceData.cs (3)
100logger.LogInformation("Executing command '{Type}'.", type); 111logger.LogInformation("Successfully executed command '{Type}'.", type); 128logger.LogInformation("Command '{Type}' not available.", type);
Dcp\ApplicationExecutor.cs (4)
1397logger.LogInformation("Waiting for value from resource '{ResourceName}'", resource.Name); 1401logger.LogInformation("Waiting for value for environment variable value '{Name}' from resource '{ResourceName}'", key, resource.Name); 1412logger.LogInformation("Waiting for value from {ValueProvider}.", valueProvider.ToString()); 1416logger.LogInformation("Waiting for value for environment variable value '{Name}' from {ValueProvider}.", key, valueProvider.ToString());
Dcp\DcpHostService.cs (1)
174_logger.LogInformation("Starting DCP with arguments: {Arguments}", dcpProcessSpec.Arguments);
src\Shared\LoggingHelpers.cs (1)
23logger.LogInformation(message, $"{firstDashboardUrl.GetLeftPart(UriPartial.Authority)}/login?t={token}");
Aspire.Hosting.AWS (1)
CloudFormation\CloudFormationExtensions.cs (1)
174ctx.Logger?.LogInformation("Waiting on CloudFormation resource {Name} ...", cloudFormationResourceBuilder.Resource.Name);
Aspire.Hosting.Azure (1)
Provisioning\Provisioners\AzureProvisioner.cs (1)
236logger.LogInformation("Azure resource connection strings saved to user secrets.");
Aspire.Hosting.Dapr (6)
DaprDistributedApplicationLifecycleHook.cs (6)
332_logger.LogInformation("Stopping Dapr-related resources..."); 358_logger.LogInformation("Starting Dapr-related resources..."); 400_logger.LogInformation("Using default Dapr pub-sub for component '{ComponentName}'.", component.Name); 409_logger.LogInformation("Using in-memory Dapr pub-sub for component '{ComponentName}'.", component.Name); 423_logger.LogInformation("Using default Dapr state store for component '{ComponentName}'.", component.Name); 432_logger.LogInformation("Using in-memory Dapr state store for component '{ComponentName}'.", component.Name);
Aspire.Hosting.Testing.Tests (1)
ResourceLoggerForwarderServiceTests.cs (1)
100resourceLogger.LogInformation("Test information message");
Aspire.Hosting.Tests (15)
Dashboard\DashboardServiceTests.cs (1)
36logger.LogInformation("Log message {Count}", i + 1);
DistributedApplicationTests.cs (3)
214logger.LogInformation("Calling PID API at {Url}", url); 221logger.LogInformation("PID API returned new value: {PID}", pid); 225logger.LogInformation("Success! We heard from all {ReplicaCount} replicas.", replicaCount);
ResourceLoggerServiceTests.cs (9)
28logger.LogInformation("Hello, world!"); 68logger.LogInformation("Hello, world!"); 73logger.LogInformation("The third log"); 109logger.LogInformation("Hello, world!"); 139logger.LogInformation("The third log"); 155logger.LogInformation("Before watching!"); 171logger.LogInformation("While watching!"); 193logger.LogInformation("After watching!"); 202logger.LogInformation("While watching again!");
tests\Shared\AsyncTestHelpers.cs (2)
19logger?.LogInformation("Start: " + message); 30logger?.LogInformation("End: " + message);
Aspire.Playground.Tests (6)
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);
AutobahnTestApp (1)
Startup.cs (1)
20logger.LogInformation("Received WebSocket 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)}.");
BuildValidator (19)
LocalReferenceResolver.cs (2)
73logger.LogInformation($"Searching {directory.FullName}"); 171_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}""");
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");
DaprServiceA (1)
Program.cs (1)
50logger.LogInformation("Weather forecast message received: {Message}", message.Message);
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."); 409h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 420h2Connection.Logger.LogInformation("Connection stopped."); 434h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 449h2Connection.Logger.LogInformation("Connection stopped."); 463h2Connection.Logger.LogInformation("Initialized http2 connection. Starting stream 1."); 480h2Connection.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)
509Logger.LogInformation($"Iteration {i}"); 543Logger.LogInformation($"Iteration {i}"); 813Logger.LogInformation($"Received notification that stream {index} disposed.");
Http3\Http3TimeoutTests.cs (2)
645Logger.LogInformation("Sending first request"); 656Logger.LogInformation("Sending second request");
KestrelMetricsTests.cs (15)
231Logger.LogInformation("Waiting for notification feature"); 240Logger.LogInformation("ConnectionClosedRequested"); 244Logger.LogInformation("Waiting for connection close request."); 247Logger.LogInformation("Receiving data and closing connection."); 257Logger.LogInformation("Finishing shutting down."); 290Logger.LogInformation("Server request delegate finishing."); 296Logger.LogInformation("Connection closed raised."); 308Logger.LogInformation("Shutting down server."); 777Logger.LogInformation("Server aborting request."); 814Logger.LogInformation("Client sending request."); 817Logger.LogInformation("Client validating response status code."); 820Logger.LogInformation("Client reading response until end."); 826Logger.LogInformation("Start server shutdown. The connection should be closed because it has no active requests."); 830Logger.LogInformation("Waiting for measurement."); 833Logger.LogInformation("Asserting metrics.");
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (1)
1163_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 (59)
Http2\Http2RequestTests.cs (9)
246logger.LogInformation($"Server writing {randomBytes.Length} bytes response"); 251logger.LogInformation($"Server advancing {randomBytes.Length} bytes response"); 272logger.LogInformation("Waiting for request on server"); 275logger.LogInformation("Stopping server"); 298logger.LogInformation($"Sending request to '{request.RequestUri}'."); 304logger.LogInformation($"Started reading response content"); 313logger.LogInformation($"Received {readCount} bytes. Total {data.Count} bytes."); 318logger.LogInformation($"Error reading response. Total {data.Count} bytes."); 322logger.LogInformation($"Finished reading response content");
Http3\Http3RequestTests.cs (46)
137logger.LogInformation(expectedLogMessage); 461Logger.LogInformation("Server received cancellation"); 467Logger.LogInformation("Server reading content"); 473Logger.LogInformation("Server waiting for cancellation"); 497Logger.LogInformation("Client sending request headers"); 500Logger.LogInformation("Client sending request content"); 504Logger.LogInformation("Client waiting until content is read on server"); 507Logger.LogInformation("Client cancelling"); 567Logger.LogInformation("Client sending request headers"); 600Logger.LogInformation("Server writing content."); 605Logger.LogInformation("Server aborting."); 616Logger.LogInformation($"Client sending request {i}"); 630Logger.LogInformation($"Client awaiting response {i}"); 633Logger.LogInformation($"Client awaiting content {i}"); 977Logger.LogInformation("Server received request aborted."); 985Logger.LogInformation("Server reading request body."); 988Logger.LogInformation("Server writing response body."); 995Logger.LogInformation("Server waiting for cancellation."); 1032Logger.LogInformation("Client reading response."); 1035Logger.LogInformation("Client canceled request."); 1080Logger.LogInformation("Server reading request body."); 1089Logger.LogInformation("Server writing response body."); 1119Logger.LogInformation("Client sending headers."); 1122Logger.LogInformation("Client waiting for headers."); 1126Logger.LogInformation("Client writing request."); 1132Logger.LogInformation("Client canceled request."); 1164Logger.LogInformation("Server received request aborted."); 1195Logger.LogInformation("Client canceled request."); 1219Logger.LogInformation($"Server trailer count: {feature.Trailers.Count}"); 1249Logger.LogInformation($"Client trailer count: {response.TrailingHeaders.Count()}"); 1394Logger.LogInformation($"Server received request {requestCount}"); 1417Logger.LogInformation("Client sending request 1"); 1431Logger.LogInformation("Client sending request 2"); 1598Logger.LogInformation("Disposing client."); 1602Logger.LogInformation("Waiting for server to receive connection close."); 1697Logger.LogInformation("Sending request after connection abort."); 1784Logger.LogInformation($"Started waiting for logs: {message}"); 1791Logger.LogInformation($"Successfully received logs: {message}"); 1869Logger.LogInformation("Server sending response headers"); 1872Logger.LogInformation("Server reading"); 1920Logger.LogInformation("Stopping host"); 1980Logger.LogInformation("Server sending response headers"); 1983Logger.LogInformation("Server reading"); 1986Logger.LogInformation("Server writing"); 2016Logger.LogInformation("Stopping host"); 2022Logger.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 (6)
Internal\HostingEventSourceTests.cs (5)
208Logger.LogInformation(nameof(HostingEventSource.RequestStart)); 216Logger.LogInformation(nameof(HostingEventSource.RequestStop)); 224Logger.LogInformation(nameof(HostingEventSource.RequestStart)); 232Logger.LogInformation(nameof(HostingEventSource.RequestFailed)); 234Logger.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)
178context.Logger.LogInformation(CoreStrings.OverridingWithPreferHostingUrls, nameof(IServerAddressesFeature.PreferHostingUrls), joined);
Internal\KestrelServerImpl.cs (2)
353Trace.LogInformation("Config changed. Stopping the following endpoints: '{endpoints}'", string.Join("', '", urlsToStop)); 381Trace.LogInformation("Config changed. Starting the following endpoints: '{endpoints}'", string.Join("', '", urlsToStart));
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (8)
HeartbeatTests.cs (4)
46Logger.LogInformation($"Heartbeat split: {split.TotalMilliseconds}ms"); 54Logger.LogInformation("Extra OnHeartbeat call()."); 59Logger.LogInformation($"Heartbeat run {heartbeatCallCount} times. Notifying test."); 71Logger.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)
1163_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."); 462Logger.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 (8)
DotnetCliHelper.cs (2)
140_logger.LogInformation("Using dotnet executable configured on the PATH"); 150_logger.LogInformation("Could not find dotnet executable from PATH");
HostWorkspace\LanguageServerProjectSystem.cs (4)
101_logger.LogInformation(string.Format(LanguageServerResources.Loading_0, solutionFilePath)); 196_logger.LogInformation(string.Format(LanguageServerResources.Completed_reload_of_all_projects_in_0, stopwatch.Elapsed)); 208_logger.LogInformation($"Logging design-time builds to {binaryLogPath}"); 303_logger.LogInformation(string.Format(LanguageServerResources.Successfully_completed_load_of_0, projectPath));
HostWorkspace\WorkspaceProjectFactoryService.cs (1)
43_logger.LogInformation(string.Format(LanguageServerResources.Project_0_loaded_by_CSharp_Dev_Kit, creationInfo.FilePath));
Program.cs (1)
139logger.LogInformation("Language server initialized");
Microsoft.CodeAnalysis.Rebuild (1)
MetadataCompilationOptions.cs (1)
27logger.LogInformation($"{optionName} - {value}");
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)
102Logger.LogInformation("Application started. Press Ctrl+C to shut down."); 103Logger.LogInformation("Hosting environment: {EnvName}", Environment.EnvironmentName); 104Logger.LogInformation("Content root path: {ContentRoot}", Environment.ContentRootPath); 109Logger.LogInformation("Application is shutting down...");
Microsoft.Extensions.Hosting.Systemd (2)
SystemdLifetime.cs (2)
95Logger.LogInformation("Application started. Hosting environment: {EnvironmentName}; Content root path: {ContentRoot}", 103Logger.LogInformation("Application is shutting down...");
Microsoft.Extensions.Hosting.WindowsServices (2)
WindowsServiceLifetime.cs (2)
80Logger.LogInformation("Application started. Hosting environment: {EnvName}; Content root path: {ContentRoot}", 85Logger.LogInformation("Application is shutting down...");
Microsoft.Extensions.Telemetry.Tests (15)
Logging\ExtendedLoggerFactoryTests.cs (14)
214logger.LogInformation("Message 1"); 221logger.LogInformation("Message 2"); 261logger.LogInformation("Message1"); 295logger.LogInformation("Message1"); 321logger.LogInformation("Message1"); 353logger.LogInformation("Message1"); 360logger.LogInformation("Message2"); 372logger.LogInformation("Message3"); 378logger.LogInformation("Message4"); 421logger.LogInformation("Message1"); 443logger.LogInformation("Message"); 447logger.LogInformation("Message2"); 501logger.LogInformation("Message"); 505logger.LogInformation("Message2");
Logging\ExtendedLoggerTests.cs (1)
626logger.LogInformation("Hello");
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}");
Nats.Backend (1)
Program.cs (1)
31logger.LogInformation("Processing event: {Data}", msg.Data);
OrderProcessor (1)
OrderProcessingWorker.cs (1)
54_logger.LogInformation($"Processing Order at: {DateTime.UtcNow}");
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");
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)
524appLogger.LogInformation("Request received"); 552appLogger.LogInformation("Wrote {total} bytes", chunkSize * i); 568logger.LogInformation("Sending request"); 575logger.LogInformation("Sent request"); 578logger.LogInformation("Waiting for connection to abort."); 596logger.LogInformation("Connection was aborted after {totalMilliseconds}ms.", sw.ElapsedMilliseconds);
Stress.ApiService (4)
Program.cs (4)
102logger.LogInformation("Log entry {LogEntryIndex}", i); 132logger.LogInformation("Writing logs canceled."); 145logger.LogInformation("This is log message {LogCount}.", logCount); 204logger.LogInformation(@"XML large content: {XmlLarge}
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)
21_logger.LogInformation("Worker running at: {Time}", DateTimeOffset.Now);