Skip to content

Commit

Permalink
Don't print every picked IP address for rotating
Browse files Browse the repository at this point in the history
  • Loading branch information
Walkyst committed Mar 2, 2023
1 parent eadd3e8 commit cda9c5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public Inet4Address getRandomAddress() {
final int maskedRandom = random.nextInt() & randMask;

final Inet4Address inetAddress = intToAddress(address + maskedRandom);
log.info(inetAddress.toString());
log.debug(inetAddress.toString());
return inetAddress;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public Inet6Address getRandomAddress() {

final BigInteger randomAddressOffset = random.nextBigInt(IPV6_BIT_SIZE - (maskBits + 1)).abs();
Inet6Address inetAddress = longToAddress(prefix.add(randomAddressOffset));
log.info(inetAddress.toString());
log.debug(inetAddress.toString());
return inetAddress;
}

Expand Down

0 comments on commit cda9c5c

Please sign in to comment.