WP_FAIL2BAN_EX_LOG_USER_AGENT

Enable logging of User-Agent.

Default setting: disabled

Premium flavour only

Added in version 4.3.0.


Enables logging of the HTTP User-Agent header for blocked requests.

Example: Enable User-Agent logging
/**
 * Enable logging of User-Agent.
 */
define('WP_FAIL2BAN_EX_LOG_USER_AGENT', true);