Our plugin includes an option on the settings page that allows you to choose how long visit logs are retained, ranging from one day to one year.
To view the retained logs, simply navigate to the Visits Log section. By clicking on the Time header, you can change the sorting order to see both the earliest and the latest records.
If the system is clearing the table and it reaches 13,000 records in one day, it’s likely that you received visitors who loaded 13,000 pages, which, by the way, is something that your server’s MySQL should have no problem handling. It is not big deal. You can examine these visits in our Visits Log report.
The plugin features a dedicated cron management system (we do not utilize WordPress’s standard cron system), which has been functioning well across many of our more than 20 plugins, including Anti Hacker and WP Tools, with thousands of users. One of its functions is stopbadbots_check_cron_request
.
The function responsible for clearing the logs is stopbadbots_cron_function_clear
. It daily cleans several tables, and you are likely referring to sbb_visitorslog
.
Yesterday, we conducted tests on our server, where we host nearly 50 sites, mostly WordPress, and everything is functioning as expected.
Therefore, we suggested yesterday that you check for any issues on your server. As explained on our troubleshooting page, there are many reasons a plugin might not function properly, including low memory, errors, conflicts with other plugins and themes, server failures, and more. There are numerous factors, including malware, outdated server software, and other issues. Many users also install multiple plugins that serve the same purpose, which is not advisable.
At this point, I recommend if necessary, that you manually clear the mentioned table using phpMyAdmin, which you can likely find in your hosting panel.
If you encounter any information in the future that might help us understand why the clean table function of the plugin isn’t working on your server, if that is the issue, please let us know, and we will specifically investigate that information.
I hope this clarifies the matter. Please let us know if you need anything else.