fixed bug that recorded too many infection attempts. complex.log working