Separate Log File For Iptables :
vi /etc/syslog.conf
--------------------------------------------------------------------------------
Append to the file :
kern.warning /var/log/iptables.log
Restart syslog daemon. Now you can block any ip and log it to the file
iptables -A INPUT -s x.x.x.x -m limit --limit 5/m --limit-burst 7