WP_FAIL2BAN_TRUNCATE_HOST

Truncate hostname in syslog tag.

Default setting: disabled

Added in version 3.5.0.


Some Linux distributions have a hard limit on the length of the syslog tag. This setting truncates the hostname to help stay within those limits.

Example: Truncate hostname
/**
 * Truncate hostname in syslog tag
 */
define('WP_FAIL2BAN_TRUNCATE_HOST', 8);