WP_FAIL2BAN_PLUGIN_COMMENT_LOG

Facility for “Comment” class plugin events.

Default facility: normally LOG_AUTHPRIV

This user-family channel follows the authentication-family facility by default. WP_FAIL2BAN_USE_LOG_USER can select LOG_USER or a local facility.


Specifies the syslog facility to use when logging comment events from plugins.

Example: Using LOG_LOCAL3
/**
 * Facility for "Comment" class plugin events.
 */
define('WP_FAIL2BAN_PLUGIN_COMMENT_LOG', LOG_LOCAL3);

History

Added in version 4.2.0.