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)
42context.Logger.LogInformation(0, CoreStrings.NetworkInterfaceBindingFailed, GetDisplayName(), "IPv4 loopback", ex.Message); 56context.Logger.LogInformation(0, CoreStrings.NetworkInterfaceBindingFailed, GetDisplayName(), "IPv6 loopback", ex.Message);