logging for attack