Commit 5ed4e3d2 authored by noelutz@google.com's avatar noelutz@google.com

Remove some noisy debug logging.

BUG=95356
TEST=NULL


Review URL: http://codereview.chromium.org/7835042

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99824 0039d316-1c4b-4281-b951-d872f2087c98
parent 0924a206
......@@ -142,7 +142,7 @@ bool ClientSideDetectionService::IsPrivateIPAddress(
const std::string& ip_address) const {
net::IPAddressNumber ip_number;
if (!net::ParseIPLiteralToNumber(ip_address, &ip_number)) {
DLOG(WARNING) << "Unable to parse IP address: " << ip_address;
VLOG(2) << "Unable to parse IP address: '" << ip_address << "'";
// Err on the side of safety and assume this might be private.
return true;
}
......@@ -161,14 +161,14 @@ bool ClientSideDetectionService::IsBadIpAddress(
const std::string& ip_address) const {
net::IPAddressNumber ip_number;
if (!net::ParseIPLiteralToNumber(ip_address, &ip_number)) {
DLOG(WARNING) << "Unable to parse IP address: " << ip_address;
VLOG(2) << "Unable to parse IP address: '" << ip_address << "'";
return false;
}
if (ip_number.size() == net::kIPv4AddressSize) {
ip_number = net::ConvertIPv4NumberToIPv6Number(ip_number);
}
if (ip_number.size() != net::kIPv6AddressSize) {
DLOG(WARNING) << "Unable to convert IPv4 address to IPv6: " << ip_address;
VLOG(2) << "Unable to convert IPv4 address to IPv6: '" << ip_address << "'";
return false; // better safe than sorry.
}
for (BadSubnetMap::const_iterator it = bad_subnets_.begin();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment