40 references to LogInformation
IdentitySample.Mvc (10)
Controllers\AccountController.cs (5)
63
_logger.
LogInformation
(1, "User logged in.");
117
_logger.
LogInformation
(3, "User created a new account with password.");
134
_logger.
LogInformation
(4, "User logged out.");
175
_logger.
LogInformation
(5, "User logged in with {Name} provider.", info.LoginProvider);
219
_logger.
LogInformation
(6, "User created an account using {Name} provider.", info.LoginProvider);
Controllers\ManageController.cs (5)
117
_logger.
LogInformation
(1, "User reset authenticator key.");
132
_logger.
LogInformation
(1, "User generated new recovery code.");
149
_logger.
LogInformation
(1, "User enabled two-factor authentication.");
165
_logger.
LogInformation
(2, "User disabled two-factor authentication.");
249
_logger.
LogInformation
(3, "User changed their password successfully.");
Microsoft.AspNetCore.Identity.UI (28)
Areas\Identity\Pages\V4\Account\ExternalLogin.cshtml.cs (2)
146
_logger.
LogInformation
(LoggerEventIds.UserLoggedInByExternalProvider, "User logged in with {LoginProvider} provider.", info.LoginProvider);
196
_logger.
LogInformation
(LoggerEventIds.UserCreatedByExternalProvider, "User created an account using {Name} provider.", info.LoginProvider);
Areas\Identity\Pages\V4\Account\Login.cshtml.cs (1)
133
_logger.
LogInformation
(LoggerEventIds.UserLogin, "User logged in.");
Areas\Identity\Pages\V4\Account\LoginWith2fa.cshtml.cs (1)
132
_logger.
LogInformation
(LoggerEventIds.UserLoginWith2FA, "User logged in with 2fa.");
Areas\Identity\Pages\V4\Account\LoginWithRecoveryCode.cshtml.cs (1)
115
_logger.
LogInformation
(LoggerEventIds.UserLoginWithRecoveryCode, "User logged in with a recovery code.");
Areas\Identity\Pages\V4\Account\Logout.cshtml.cs (1)
48
_logger.
LogInformation
(LoggerEventIds.UserLoggedOut, "User logged out.");
Areas\Identity\Pages\V4\Account\Manage\ChangePassword.cshtml.cs (1)
137
_logger.
LogInformation
(LoggerEventIds.PasswordChanged, "User changed their password successfully.");
Areas\Identity\Pages\V4\Account\Manage\DeletePersonalData.cshtml.cs (1)
114
_logger.
LogInformation
(LoggerEventIds.UserDeleted, "User deleted themselves.");
Areas\Identity\Pages\V4\Account\Manage\Disable2fa.cshtml.cs (1)
80
_logger.
LogInformation
(LoggerEventIds.TwoFADisabled, "User has disabled 2fa.");
Areas\Identity\Pages\V4\Account\Manage\DownloadPersonalData.cshtml.cs (1)
58
_logger.
LogInformation
(LoggerEventIds.PersonalDataRequested, "User asked for their personal data.");
Areas\Identity\Pages\V4\Account\Manage\EnableAuthenticator.cshtml.cs (1)
145
_logger.
LogInformation
(LoggerEventIds.TwoFAEnabled, "User has enabled 2FA with an authenticator app.");
Areas\Identity\Pages\V4\Account\Manage\GenerateRecoveryCodes.cshtml.cs (1)
92
_logger.
LogInformation
(LoggerEventIds.TwoFARecoveryGenerated, "User has generated new 2FA recovery codes.");
Areas\Identity\Pages\V4\Account\Manage\ResetAuthenticator.cshtml.cs (1)
75
_logger.
LogInformation
(LoggerEventIds.AuthenticationAppKeyReset, "User has reset their authentication app key.");
Areas\Identity\Pages\V4\Account\Register.cshtml.cs (1)
137
_logger.
LogInformation
(LoggerEventIds.UserCreated, "User created a new account with password.");
Areas\Identity\Pages\V5\Account\ExternalLogin.cshtml.cs (2)
146
_logger.
LogInformation
(LoggerEventIds.UserLoggedInByExternalProvider, "User logged in with {LoginProvider} provider.", info.LoginProvider);
196
_logger.
LogInformation
(LoggerEventIds.UserCreatedByExternalProvider, "User created an account using {Name} provider.", info.LoginProvider);
Areas\Identity\Pages\V5\Account\Login.cshtml.cs (1)
133
_logger.
LogInformation
(LoggerEventIds.UserLogin, "User logged in.");
Areas\Identity\Pages\V5\Account\LoginWith2fa.cshtml.cs (1)
132
_logger.
LogInformation
(LoggerEventIds.UserLoginWith2FA, "User logged in with 2fa.");
Areas\Identity\Pages\V5\Account\LoginWithRecoveryCode.cshtml.cs (1)
115
_logger.
LogInformation
(LoggerEventIds.UserLoginWithRecoveryCode, "User logged in with a recovery code.");
Areas\Identity\Pages\V5\Account\Logout.cshtml.cs (1)
48
_logger.
LogInformation
(LoggerEventIds.UserLoggedOut, "User logged out.");
Areas\Identity\Pages\V5\Account\Manage\ChangePassword.cshtml.cs (1)
137
_logger.
LogInformation
(LoggerEventIds.PasswordChanged, "User changed their password successfully.");
Areas\Identity\Pages\V5\Account\Manage\DeletePersonalData.cshtml.cs (1)
114
_logger.
LogInformation
(LoggerEventIds.UserDeleted, "User deleted themselves.");
Areas\Identity\Pages\V5\Account\Manage\Disable2fa.cshtml.cs (1)
80
_logger.
LogInformation
(LoggerEventIds.TwoFADisabled, "User has disabled 2fa.");
Areas\Identity\Pages\V5\Account\Manage\DownloadPersonalData.cshtml.cs (1)
58
_logger.
LogInformation
(LoggerEventIds.PersonalDataRequested, "User asked for their personal data.");
Areas\Identity\Pages\V5\Account\Manage\EnableAuthenticator.cshtml.cs (1)
145
_logger.
LogInformation
(LoggerEventIds.TwoFAEnabled, "User has enabled 2FA with an authenticator app.");
Areas\Identity\Pages\V5\Account\Manage\GenerateRecoveryCodes.cshtml.cs (1)
92
_logger.
LogInformation
(LoggerEventIds.TwoFARecoveryGenerated, "User has generated new 2FA recovery codes.");
Areas\Identity\Pages\V5\Account\Manage\ResetAuthenticator.cshtml.cs (1)
75
_logger.
LogInformation
(LoggerEventIds.AuthenticationAppKeyReset, "User has reset their authentication app key.");
Areas\Identity\Pages\V5\Account\Register.cshtml.cs (1)
137
_logger.
LogInformation
(LoggerEventIds.UserCreated, "User created a new account with password.");
Microsoft.AspNetCore.Server.Kestrel.Core (2)
LocalhostListenOptions.cs (2)
42
context.Logger.
LogInformation
(0, CoreStrings.NetworkInterfaceBindingFailed, GetDisplayName(), "IPv4 loopback", ex.Message);
56
context.Logger.
LogInformation
(0, CoreStrings.NetworkInterfaceBindingFailed, GetDisplayName(), "IPv6 loopback", ex.Message);