WP_FAIL2BAN_LOG_COMMENTS

Log submitted comments.

Default setting: disabled

Added in version 3.5.0.


Enables logging of all submitted comments. When enabled, the comment ID and IP address will be written to the syslog facility specified by WP_FAIL2BAN_COMMENT_LOG.

Example: Enable comment logging
/**
 * Log submitted comments.
 */
define('WP_FAIL2BAN_LOG_COMMENTS', true);