WP_FAIL2BAN_LOG_SPAMΒΆ

Log comments marked as spam.

Default setting: disabled

New in version 3.5.0.


/**
 * Log spam comments.
 */
define('WP_FAIL2BAN_LOG_SPAM', true);

The comment ID and IP will be written to WP_FAIL2BAN_SPAM_LOG and matched by wordpress-hard.conf.