Stop logging excessive information about fallback netblocks

Implements ticket 24791
This commit is contained in:
teor 2018-01-05 00:23:52 +11:00
parent d30d3fe8ed
commit 65520f1bde
No known key found for this signature in database
GPG Key ID: 740D9E39025272A2
2 changed files with 5 additions and 2 deletions

3
changes/ticket24791 Normal file
View File

@ -0,0 +1,3 @@
o Code simplification and refactoring (fallbacks):
- Stop logging excessive information about fallback netblocks.
Implements ticket 24791.

View File

@ -1996,7 +1996,7 @@ class CandidateList(dict):
# this doesn't actually tell us anything useful
#self.describe_fallback_ipv4_netblock_mask(8)
self.describe_fallback_ipv4_netblock_mask(16)
self.describe_fallback_ipv4_netblock_mask(24)
#self.describe_fallback_ipv4_netblock_mask(24)
# log a message about the proportion of fallbacks in each IPv6 /12 (RIR),
# /23 (smaller RIR blocks), /32 (LIR), /48 (Customer), and /64 (Host)
@ -2006,7 +2006,7 @@ class CandidateList(dict):
#self.describe_fallback_ipv6_netblock_mask(12)
#self.describe_fallback_ipv6_netblock_mask(23)
self.describe_fallback_ipv6_netblock_mask(32)
self.describe_fallback_ipv6_netblock_mask(48)
#self.describe_fallback_ipv6_netblock_mask(48)
self.describe_fallback_ipv6_netblock_mask(64)
# log a message about the proportion of fallbacks in each IPv4 and IPv6