Clearing logs and iplist