20 references to LogWarning
IdentitySample.Mvc (3)
Controllers\AccountController.cs (3)
72
_logger.
LogWarning
(2, "User account locked out.");
439
_logger.
LogWarning
(7, "User account locked out.");
486
_logger.
LogWarning
(7, "User account locked out.");
Microsoft.AspNetCore.Hosting (1)
Internal\HostingLoggerExtensions.cs (1)
50
logger.
LogWarning
(eventId: LoggerEventIds.PortsOverridenByUrls,
Microsoft.AspNetCore.HttpOverrides (7)
ForwardedHeadersMiddleware.cs (7)
142
_logger.
LogWarning
(1, "Parameter count mismatch between X-Forwarded-For and X-Forwarded-Proto.");
156
_logger.
LogWarning
(1, "Parameter count mismatch between X-Forwarded-Host and X-Forwarded-For or X-Forwarded-Proto.");
171
_logger.
LogWarning
(1, "Parameter count mismatch between X-Forwarded-Prefix and X-Forwarded-Host and X-Forwarded-For or X-Forwarded-Proto.");
254
_logger.
LogWarning
(2, "Missing forwarded IPAddress.");
268
_logger.
LogWarning
(3, $"Forwarded scheme is not present, this is required by {nameof(_options.RequireHeaderSymmetry)}");
283
_logger.
LogWarning
(4, $"Incorrect number of x-forwarded-host header values, see {nameof(_options.RequireHeaderSymmetry)}.");
297
_logger.
LogWarning
(5, $"Incorrect number of x-forwarded-prefix header values, see {nameof(_options.RequireHeaderSymmetry)}");
Microsoft.AspNetCore.Identity.UI (8)
Areas\Identity\Pages\V4\Account\Login.cshtml.cs (1)
142
_logger.
LogWarning
(LoggerEventIds.UserLockout, "User account locked out.");
Areas\Identity\Pages\V4\Account\LoginWith2fa.cshtml.cs (2)
137
_logger.
LogWarning
(LoggerEventIds.UserLockout, "User account locked out.");
142
_logger.
LogWarning
(LoggerEventIds.InvalidAuthenticatorCode, "Invalid authenticator code entered.");
Areas\Identity\Pages\V4\Account\LoginWithRecoveryCode.cshtml.cs (1)
125
_logger.
LogWarning
(LoggerEventIds.InvalidRecoveryCode, "Invalid recovery code entered.");
Areas\Identity\Pages\V5\Account\Login.cshtml.cs (1)
142
_logger.
LogWarning
(LoggerEventIds.UserLockout, "User account locked out.");
Areas\Identity\Pages\V5\Account\LoginWith2fa.cshtml.cs (2)
137
_logger.
LogWarning
(LoggerEventIds.UserLockout, "User account locked out.");
142
_logger.
LogWarning
(LoggerEventIds.InvalidAuthenticatorCode, "Invalid authenticator code entered.");
Areas\Identity\Pages\V5\Account\LoginWithRecoveryCode.cshtml.cs (1)
125
_logger.
LogWarning
(LoggerEventIds.InvalidRecoveryCode, "Invalid recovery code entered.");
Microsoft.Extensions.Identity.Core (1)
RoleManager.cs (1)
413
Logger.
LogWarning
(LoggerEventIds.RoleValidationFailed, "Role {roleId} validation failed: {errors}.", await GetRoleIdAsync(role).ConfigureAwait(false), string.Join(";", errors.Select(e => e.Code)));