In some business scenarios, it is required to understand how to log and alert details of failed login attempts to Strategy Intelligence Server with the client IP address and the type of failure in Strategy 9.x and 10.x.
Follow the steps below in order to log and alert details of failed login attempts to Strategy Intelligence Server with the client IP address and the type of failure:


Sample Code/Error
2012-01-10 01:44:14.630-05:00 Login using Standard Security with User='dahjkfd'
2012-01-10 01:44:14.864-05:00 Incorrect login/password.
2012-01-10 01:44:14.880-05:00 MsiSessionManager::LoginStandardUser(UserName=dahjkfd, MachineName=Server Machine: 10.16.154.13 Client Machine: 127.0.0.1): Authentication failed: hr = %3.
Note: the log can be interpreted as below: