Use AUTHPRIV by default.
Default setting: disabled
New in version 4.4.0.
By default, WPf2b uses LOG_AUTH for logging various events. However, some systems use LOG_AUTHPRIV instead, but there’s no good run-time way to tell. If your system uses LOG_AUTHPRIV you should add the following to
/** * Use AUTHPRIV */ define('WP_FAIL2BAN_USE_AUTHPRIV', true);
This only changes the default use of LOG_AUTH - it doesn’t override individual settings.
You must define this in
wp-config.php even if you are using the Premium version of WPf2b.