Secure-IT
Member
Posted 1 year ago #
If I view the logged events in Bad Behavior (
Tools > Bad Behavior ), I have no way to clear the logs. Can someone explain how they've been able to clear these logs? I did see this post but it was from a year ago. Does anyone know if it's still the case? ( http://wordpress.org/support/topic/plugin-bad-behavior-cleaning-log )
---
Wordpress 3.1.2
Bad Behavior 2.0.43
http://wordpress.org/extend/plugins/bad-behavior/
treydock
Member
Posted 1 year ago #
The logs are stored in the mysql database. The only way I know of how to clear them is by clearing the wp_bad_behavior table.
Backup your DB first!
Then run:
TRUNCATE TABLE wp_bad_behavior;
That basically drops and re-creates wp_bad_behavior table.
- Trey
Bad Behavior automatically prunes the log entries older than 7 days. If you find this is still too much data, try disabling verbose mode. If you find that 7 days of data is too much even without verbose mode, you can just disable logging in Bad Behavior's options.