Ed_Greenberg
New Pleskian
I have many Centos 6 based Plesk 12 servers. On most of them, fail2ban logs are always 0, and fail2ban entries go to /var/log/messages.
On a few of them, fail2ban messages go to both fail2ban.log and messages.
Comparing two of these servers that exhibit the two behaviors above, I find that both rsyslog.conf have the same sum, both fail2ban.conf have the same sum, and both rsyslog.d directories are empty.
Looking at the fail2ban source, the log facility is hardwired to 'daemon', while the priority is set to INFO in both of the fail2ban.conf files.
I can't find a difference in syslog or fail2ban that would account for this difference in behavior, and most clients would like a separate fail2ban log, since Plesk offers to display it under Tools and Settings | Fail2ban | Logs.
Can anybody help?
On a few of them, fail2ban messages go to both fail2ban.log and messages.
Comparing two of these servers that exhibit the two behaviors above, I find that both rsyslog.conf have the same sum, both fail2ban.conf have the same sum, and both rsyslog.d directories are empty.
Looking at the fail2ban source, the log facility is hardwired to 'daemon', while the priority is set to INFO in both of the fail2ban.conf files.
I can't find a difference in syslog or fail2ban that would account for this difference in behavior, and most clients would like a separate fail2ban log, since Plesk offers to display it under Tools and Settings | Fail2ban | Logs.
Can anybody help?