WP_FAIL2BAN_EX_LOG_URL

Enable logging of request URL.

Default setting: disabled

Premium flavour only


When enabled, Premium stores the request method and REQUEST_URI for every event when those values are available. REQUEST_URI is a request target, not an absolute URL assembled from scheme and host, and it can include a query string. Success-class and WAF-class events select these fields independently of this setting.

Example: Enable URL logging
/**
 * Enable logging of request URL.
 */
define('WP_FAIL2BAN_EX_LOG_URL', true);

History

Added in version 4.3.0.