Log of Blocked Zone

My PC once was Invaded by some sort of virus and it was sending Data to
a servers , i was able to track all those ip ranges and then i blocked
them with Comodo firewall blocked Zone .

but i can not figure it out , how to keep log of blocked zone ,
i mean which program tried to connect those ip and when

Is there any way to Log these events ?