WP_FAIL2BAN_SYSLOG_INLINE_HOST
Log hostname in message body.
Default setting: false
systemd
You should enable this if your OS uses systemd.
Moves the hostname from the syslog identifier to the message body. For example:
define(‘WP_FAIL2BAN_SYSLOG_INLINE_HOST’, true);
Jul 7 12:34:56 bistromath wordpress[4242]: Blocked authentication attempt on fqdn.example.com for Agrajag from 192.0.42.1
instead of:
define(‘WP_FAIL2BAN_SYSLOG_INLINE_HOST’, false);
Jul 7 12:34:56 bistromath wordpress(fqdn.example.com)[4242]: Blocked authentication attempt for Agrajag from 192.0.42.1
See also
History
Added in version 6.0.0.