Support » Plugin: WP Security Audit Log » Logs are not truncated

Viewing 5 replies - 1 through 5 (of 5 total)
  • Okay… and when plugin is deleted, the logs are not removed either. Any thoughts on why?

    And the same goes on in non-multisite environment. Plugin simply does not truncate logs. I am going to truncate the DB tables now as I do not see what else I can do, there are over a million rows and inserts are becoming slow. Can you guys fix it or something, please?

    Plugin Author WPWhiteSecurity


    HI Tigr,

    First of all thank you for using our plugin and secondly I am sorry to see you are having such issues. Let me explain a bit:

    1. Alerts truncating works by using the WordPress Cron ( hence to start off with did you do any changes or mods to this function?

    2. All the WordPress security alerts are stored in 2 tables in the WordPress database which are listed below:
    – wp_wsal_metadata
    – wp_wsal_occurrences

    Upon uninstalling the plugin the tables are left there so if you reinstall the plugin the alerts are retained. Having said that if you would like to delete the alert, simply delete these 2 tables.

    Therefore can you please give us more info if you have applied any customizations to the WordPress cron process?

    Looking forward to hearing from you.


    The wp-cron function has not been altered in any way, it is stock. Other automated jobs operate normally.

    I did truncate the two tables, removing all old alerts.


    Plugin Author WPWhiteSecurity


    Hi Tigr,

    Thank you for your feedback and for reporting the issue.

    We identified some issues in the auto pruning process and we are looking into it as we speak. Later on this week or no later than next week we should release a new update, so please stay tuned with us.

    In the meantime, should you have any further queries, do not hesitate to get in touch.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Logs are not truncated’ is closed to new replies.