How to Log Blocked Attempts with OSpam-a-not

OSpam-a-not allows you to log all the blocked attempts to fill in forms in your Joomla site.

  • Go to Extensions > Plugins:

go to extensions plugins

  • You will be taken to the Plugins screen. Search for the OSpam-a-not and once you locate it, click on it to edit it:

03 click on the plugin name to edit it

You will see the Plugins: System - OSpam-a-not administrative page.

  1. Locate the Minimum Form Time setting. Enter in its field the minimum number of seconds that must elapse for a human submitter to send a form on your site. In my demonstration, I entered 60 seconds.
  2. Locate the Logging parameter and click Yes:

locate logging and click yes

  • Click Save & Close.

Now, next time a human or a bot will try to fill in a form on your site faster than within 60 seconds, OSpam-a-not plugin will create the administrator/logs/ospamanot.log.php file:

osmap a not log file

Within this log file, you will find the failed attempt entry:

failed attempt event record