Stephen coded up a little plugin a while ago so I thought I’d share it with everyone.

Login Logger keeps track of recent logins to WordPress for all users, as well as all failed logins. It records username, time, IP address and how long since each login attempt as well as time since last active for each user. These tables can be accessed from the Users menu, and the list of failed logins can be cleared at any time.

It was mainly written quickly for personal use – so we can’t make any claims regarding its safety or extendibility (it does not use any localization methods, etc) but please let us know if you find it useful!

Download it here:
WordPress 2.5 – 2.8.4
WordPress 2.2 – 2.5

To install, unzip and upload the entire folder to your plugins folder, then activate from the plugin menu.

Updates:

August 28, 2009: Updated styling
April 10, 2008: Updated for WordPress 2.5.
January 24, 2008: Fixed another minor wp prefix bug.
October 2, 2007: Fixed the wp prefix bug and submenu path bug.

Get actionable tips to grow your website

Thoughtful weekly insights (no hype!) on improving your website