All Apache's fail2ban jails look useless

Ok here is a long winded fix
in server templates


change _log to .log
drop to a terminal then

cd /etc/apache2/sites-available
and run sed -i ‘s/_log/.log/g’ *

this will change where apache logs to
then change you fail2ban config to something like

restart apache2 and check that the new log files are created if so, restart fail2ban
then navigate to

/etc/logrotate.d
and run this
sed -i ‘s/_log/.log/g’ virtualmin.conf

which will take care of the new files for log rotation
and you should end up with something like this in the fail to ban logs