block/bridge: add debug printing
This commit is contained in:
parent
ca3fc844b7
commit
3ed6f0908a
1 changed files with 3 additions and 0 deletions
|
@ -46,8 +46,11 @@ class BlockBridgeAutomation(BaseAutomation):
|
||||||
logging.debug("Parse complete")
|
logging.debug("Parse complete")
|
||||||
rotated = []
|
rotated = []
|
||||||
rotated.extend(self.perform_deprecations(self.ips, get_bridge_by_ip))
|
rotated.extend(self.perform_deprecations(self.ips, get_bridge_by_ip))
|
||||||
|
logging.debug("Blocked by IP")
|
||||||
rotated.extend(self.perform_deprecations(self.fingerprints, get_bridge_by_fingerprint))
|
rotated.extend(self.perform_deprecations(self.fingerprints, get_bridge_by_fingerprint))
|
||||||
|
logging.debug("Blocked by fingerprint")
|
||||||
rotated.extend(self.perform_deprecations(self.fingerprints, get_bridge_by_hashed_fingerprint))
|
rotated.extend(self.perform_deprecations(self.fingerprints, get_bridge_by_hashed_fingerprint))
|
||||||
|
logging.debug("Blocked by hashed fingerprint")
|
||||||
if rotated:
|
if rotated:
|
||||||
activity = Activity(
|
activity = Activity(
|
||||||
activity_type="block",
|
activity_type="block",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue