WP CLI command to view user activity is now added to Simple History. The current support is pretty basic, but it’s a nice addition anyway I must say.
A simple wp simple-history list command will give you a listing of the latest events. You can also pass arguments count=20 to show 20 events instead of the default 10. And pass argument format=json to output the list in JSON format instead of the ASCII table.
Also in this version: theme file edits are logged, with a “quick diff” showing what’s been changed.
Before this version (2.7) of Simple History you could see in the log that a user had been created or changed. But you could not see any details.
With this update however, you can now see a lot of details when a user is created or edited: their username, name, email, webpage, and so on. And when a user is edited you can see from what old value to what new value.
The reason for this is that Simple History is really good at logging things. So if your WordPress blog is getting a really big amount of brute force attacks, all those failed login attempts will be logged in Simple History. Nothing wrong with that, that’s the purpose of the plugin. But the number of rows can be huge – like over a million for some sites. And that can be an issue for some low cost hosts where you have a limited amount of storage/disk space.
Here’s what Simple History is doing to keep the database small – and a solution to keep the number of login attempts down to a minimum: