93 references to LogWarning
Aspire.Confluent.Kafka (4)
AspireKafkaConsumerExtensions.cs (2)
179logger.LogWarning("LogHandler is already set. Skipping... No logs will be written."); 203logger.LogWarning("StatisticsHandler is already set. Skipping... No metrics will be exposed.");
AspireKafkaProducerExtensions.cs (2)
179logger.LogWarning("LogHandler is already set. Skipping... No logs will be written."); 203logger.LogWarning("StatisticsHandler is already set. Skipping... No metrics will be exposed.");
Aspire.Dashboard (3)
DashboardWebApplication.cs (1)
324_logger.LogWarning("OTLP server is unsecured. Untrusted apps can send telemetry to the dashboard. For more information, visit https://go.microsoft.com/fwlink/?linkid=2267030");
Model\BrowserTimeProvider.cs (1)
32_logger.LogWarning("Couldn't find time zone '{TimeZone}'. Defaulting to UTC.", timeZone);
Model\Otlp\ApplicationsSelectHelpers.cs (1)
29logger.LogWarning(
Aspire.Hosting (1)
Dashboard\DashboardServiceHost.cs (1)
191_logger.LogWarning("Unexpectedly long wait for resource service URI ({Elapsed}).", elapsed);
Aspire.Hosting.Testing.Tests (1)
ResourceLoggerForwarderServiceTests.cs (1)
101resourceLogger.LogWarning("Test warning message");
BuildValidator (2)
LocalReferenceResolver.cs (1)
165_logger.LogWarning($@"Could not read MVID from ""{filePath}""");
Program.cs (1)
272logger.LogWarning($"\t{diff.AssemblyInfo.FilePath}");
CustomPolicyProvider (1)
Authorization\MinimumAgeAuthorizationHandler.cs (1)
29_logger.LogWarning("Evaluating authorization requirement for age >= {age}", requirement.Age);
Identity.ExternalClaims (5)
Pages\Account\Login.cshtml.cs (1)
88_logger.LogWarning("User account locked out.");
Pages\Account\LoginWith2fa.cshtml.cs (2)
87_logger.LogWarning("User with ID '{UserId}' account locked out.", user.Id); 92_logger.LogWarning("Invalid authenticator code entered for user with ID '{UserId}'.", user.Id);
Pages\Account\LoginWithRecoveryCode.cshtml.cs (2)
80_logger.LogWarning("User with ID '{UserId}' account locked out.", user.Id); 85_logger.LogWarning("Invalid recovery code entered for user with ID '{UserId}' ", user.Id);
Microsoft.AspNetCore.Authentication.Negotiate (3)
Internal\LdapAdapter.cs (3)
59logger.LogWarning($"More than one response received for query: {filter} with distinguished name: {distinguishedName}"); 97logger.LogWarning($"No response received for query: {filter} with distinguished name: {distinguishedName}"); 113logger.LogWarning($"More than one response received for query: {filter} with distinguished name: {distinguishedName}");
Microsoft.AspNetCore.FunctionalTests (10)
WebHostFunctionalTests.cs (10)
51logger.LogWarning(response.ToString()); 52logger.LogWarning(responseText); 76logger.LogWarning(response.ToString()); 77logger.LogWarning(responseText); 100logger.LogWarning(response.ToString()); 101logger.LogWarning(responseText); 177Logger.LogWarning(response.ToString()); 178Logger.LogWarning(responseText); 197logger.LogWarning(response.ToString()); 198logger.LogWarning(responseText);
Microsoft.AspNetCore.Hosting (1)
WebHostBuilder.cs (1)
184logger.LogWarning($"The assembly {assemblyName} was specified multiple times. Hosting startup assemblies should only be specified once.");
Microsoft.AspNetCore.Identity.UI (2)
Areas\Identity\Pages\V4\Account\LoginWithRecoveryCode.cshtml.cs (1)
120_logger.LogWarning("User account locked out.");
Areas\Identity\Pages\V5\Account\LoginWithRecoveryCode.cshtml.cs (1)
120_logger.LogWarning("User account locked out.");
Microsoft.AspNetCore.InternalTesting (4)
AssemblyTestLog.cs (4)
125_globalLogger.LogWarning($"Test name {testName} is too long. Please shorten test name."); 137_globalLogger.LogWarning($"To prevent long paths test name was shortened to {testName}."); 144_globalLogger.LogWarning($"Output log file {testOutputFile} already exists. Please try to keep log file names unique."); 152_globalLogger.LogWarning($"To resolve log file collision, the enumerated file {testOutputFile} will be used.");
Microsoft.AspNetCore.Server.IIS (2)
Core\IISHttpContext.FeatureCollection.cs (1)
452_logger.LogWarning(CoreStrings.MaxRequestLimitWarning);
Core\IISHttpServer.cs (1)
89_logger.LogWarning(CoreStrings.MaxRequestLimitWarning);
Microsoft.AspNetCore.Server.IntegrationTesting (10)
Common\ProcessLoggingExtensions.cs (1)
25logger.LogWarning($"{prefix} stderr: {{line}}", dataArgs.Data);
Common\RetryHelper.cs (3)
35logger.LogWarning("Retry count {retryCount}..", retry + 1); 41logger.LogWarning("Retrying a service unavailable error."); 58logger.LogWarning("Failed to complete the request : {0}.", exception.Message);
Deployers\ApplicationDeployer.cs (4)
88Logger.LogWarning( 125Logger.LogWarning("Unable to terminate the host process with process Id '{processId}", hostProcess.Id); 134Logger.LogWarning("Host process already exited or never started successfully."); 158Logger.LogWarning("User cleanup code failed with exception : {exception}", exception.Message);
Deployers\NginxDeployer.cs (1)
182Logger.LogWarning("Unable to find nginx PID file: {pidFile}", pidFile);
PublishedApplication.cs (1)
24e => _logger.LogWarning($"Failed to delete directory : {e.Message}"),
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (3)
IISDeployer.cs (1)
327Logger.LogWarning($"Name of redirected file: {redirectedFilePath}");
IISExpressDeployer.cs (2)
424Logger.LogWarning("Failed to delete '{config}'. Exception : {exception}", DeploymentParameters.ServerConfigLocation, exception.Message); 565Logger.LogWarning($"IISExpress exit code is non-zero after graceful shutdown. Exit code: {hostProcess.ExitCode}");
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\AddressBinder.cs (1)
199context.Logger.LogWarning(CoreStrings.OverridingWithKestrelOptions, string.Join(", ", _originalAddresses));
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
ServerLogScope.cs (1)
42_scopeLogger.LogWarning("Server log has no data.");
Microsoft.AspNetCore.SpaProxy (2)
SpaProxyLaunchManager.cs (2)
251_logger.LogWarning($"The SPA process shutdown script '{stopProcess?.Id}' failed to start. The SPA proxy might" + 311_logger.LogWarning($"The SPA process shutdown script '{stopProcess?.Id}' failed to start. The SPA proxy might" +
Microsoft.AspNetCore.WebSockets.ConformanceTests (1)
Autobahn\AutobahnTester.cs (1)
91_logger.LogWarning("Non-successful response when pinging {url}: {statusCode} {reasonPhrase}", deployment.ApplicationBaseUri, resp.StatusCode, resp.ReasonPhrase);
Microsoft.CodeAnalysis.LanguageServer (4)
HostWorkspace\FileWatching\DelegatingFileChangeWatcher.cs (1)
40loggerFactory.CreateLogger<DelegatingFileChangeWatcher>().LogWarning("We are unable to use LSP file watching; falling back to our in-process watcher.");
HostWorkspace\LanguageServerWorkspaceFactory.cs (1)
71_logger.LogWarning($"Solution-level analyzer at {analyzerPath} could not be found.");
HostWorkspace\ProjectDependencyHelper.cs (1)
56logger.LogWarning(string.Format(LanguageServerResources.Project_0_has_unresolved_dependencies, projectFileInfo.FilePath));
Logging\LspServiceLogger.cs (1)
37public override void LogWarning(string message, params object[] @params) => _hostLogger.LogWarning(message, @params);
Microsoft.CodeAnalysis.Workspaces.MSBuild (2)
MSBuild\BuildHostProcessManager.cs (2)
58_logger?.LogWarning($"An installation of Mono could not be found; {projectOrSolutionFilePath} will be loaded with the .NET Core SDK and may encounter errors."); 72_logger?.LogWarning($"An installation of Visual Studio or the Build Tools for Visual Studio could not be found; {projectOrSolutionFilePath} will be loaded with the .NET Core SDK and may encounter errors.");
Microsoft.Extensions.Diagnostics.Testing.Tests (5)
Logging\FakeLogCollectorTests.cs (4)
52logger.LogWarning("Hello world!"); 94logger.LogWarning("Hello world!"); 133logger.LogWarning("Hello world!"); 165logger.LogWarning("Hello world!");
Logging\FakeLoggerTests.cs (1)
213logger.LogWarning("M3");
Microsoft.Extensions.Hosting.Testing.Tests (1)
HostingFakesExtensionsTests.cs (1)
322logger.LogWarning(message);
ServerComparison.FunctionalTests (24)
HelloWorldTest.cs (2)
78logger.LogWarning(response.ToString()); 79logger.LogWarning(responseText);
NtlmAuthenticationTest.cs (2)
101logger.LogWarning(response.ToString()); 102logger.LogWarning(responseText);
ResponseCompressionTests.cs (6)
154logger.LogWarning(response.ToString()); 155logger.LogWarning(responseText); 179logger.LogWarning(response.ToString()); 180logger.LogWarning(responseText); 212logger.LogWarning(response.ToString()); 213logger.LogWarning(responseText);
ResponseTests.cs (14)
116logger.LogWarning(response.ToString()); 117logger.LogWarning(responseText); 145logger.LogWarning(response.ToString()); 146logger.LogWarning(responseText); 165logger.LogWarning(response.ToString()); 166logger.LogWarning(responseText); 190logger.LogWarning(response.ToString()); 191logger.LogWarning(responseText); 215logger.LogWarning(response.ToString()); 216logger.LogWarning(responseText); 240logger.LogWarning(response.ToString()); 241logger.LogWarning(responseText); 260logger.LogWarning(response.ToString()); 261logger.LogWarning(responseText);