Support » Plugins and Hacks » Bad Behavior » How do I clear Bad Behavior logs?

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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

    Plugin Author error

    (@error)


    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How do I clear Bad Behavior logs?’ is closed to new replies.