WP_FAIL2BAN_LOG_SPAM

Log comments marked as spam.

Default setting: disabled


Enables logging of comments that are marked as spam. When enabled, the comment ID and IP address will be written to the syslog facility specified by WP_FAIL2BAN_SPAM_LOG.

Example: Enable spam logging
/**
 * Log spam comments.
 */
define('WP_FAIL2BAN_LOG_SPAM', true);

History

Added in version 3.5.0.