WP_FAIL2BAN_USE_AUTHPRIV¶
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 wp-config.php
:
/**
* Use AUTHPRIV
*/
define('WP_FAIL2BAN_USE_AUTHPRIV', true);
Note
This only changes the default use of LOG_AUTH - it doesn’t override individual settings.
Attention
You must define this in wp-config.php
even if you are using the Premium version of WPf2b.
See also