I've categorized this as "Bug report" although it may simply be that I'm doing something wrong. I run Honeypot 7.x-122 on a D7site where I see MANY Honeypot Log entries...but not so with the Honeypot 8.x123 I run on D8 on a different website. In fact I see no Honeypot 8.x-1.23 Log entries. Zero, nada, none. Note: I have enabled (checked) "Home > Administration > Configuration Content authoring > Honeypot Configuration > Log blocked form submissions" on the Honeypot 8.x-1.23 site. While it is possible that there has been no spam traffic on my D8 site I highly doubt this as the domain name I am running under has proven to be SpamCandy for many years.

Comments

Q2U2 created an issue. See original summary.

NonProfit’s picture

I'm running Honeypot 8.x-1.23 and see entries on admin/reports/dblog.

geerlingguy’s picture

Can you try going to your site as an anonymous user and using the web inspector to put a value in the honeypot field, then submit the form (it shouldn't allow you to), then see if that is logged?

geerlingguy’s picture

Category: Bug report » Support request
maduko’s picture

I am having the same issue on a D7 site. I'm running Honeypot on two sites using Drupal 7.50 and one shows log entries and the other doesn't. In fact, it doesn't even have the honeypot entry in the log filter options.

So far I have tried turning logging off/on with no luck.

geerlingguy’s picture

@maduko - Same thing as above:

Can you try going to your site as an anonymous user and using the web inspector to put a value in the honeypot field, then submit the form (it shouldn't allow you to), then see if that is logged?

I would want to make 100% sure Honeypot itself is also working and preventing submissions before I start looking into logging. Make sure it's working on the forms you think it's working on.

El Bandito’s picture

I think I'm seeing this issue using 7.x-1.22. I have enabled Honeypot on all webforms, set the time limit to 2 seconds, and checked 'Log blocked form submissions'. Although the module has definitely killed all SPAM submissions there is nothing in the log about the submissions it is blocking.

I followed your advice and submitted the form using web developer to set the value of the hidden field and it DID result in a blocked submission watchdog entry.

Happy to test any suggestions.

geerlingguy’s picture

Status: Active » Closed (cannot reproduce)

It sounds like logging is working, in that case. I've also re-tested the logging functionality in fresh Drupal 7 and Drupal 8 sites, and can confirm that logging to the database log seems to work correctly. Note that I had only Honeypot enabled on both sites in question—just a standard install profile and Honeypot alone. Maybe some other module was interfering with Honeypot's ability to store log messages? Also a hook_boot() or exit() misconfiguration could cause the DB write to fail.

Please reopen if you can find a reliable way to reproduce the problem on a new/simple site.

Steel Rat’s picture

I also run several D7 sites. I can confirm that of two I have honeypot installed, one logs the other doesn't. And as someone above mentioned, I don't even see it in the filter list on the one that doesn't seem to log.