logger.debug("Invoking federation.fetch_blocks(%s) ...", blocker)
blocking = federation.fetch_blocks(blocker)
- logger.debug("blocking()=%d,nodeinfo_url='%s'", len(blocking), nodeinfo_url)
+ logger.info("blocker='%s',software='%s' has %d block entries returned.", blocker, software, len(blocking))
if len(blocking) == 0:
- logger.debug("blocker='%s',software='%s'", blocker, software)
+ logger.debug("blocker='%s',software='%s' - fetching blocklist ...", blocker, software)
if software == "pleroma":
- logger.info("blocker='%s',software='%s'", blocker, software)
blocking = pleroma.fetch_blocks(blocker)
logger.debug("blocker='%s' returned %d entries,software='%s'", blocker, len(blocking), software)
elif software == "mastodon":
- logger.info("blocker='%s',software='%s'", blocker, software)
blocking = mastodon.fetch_blocks(blocker)
logger.debug("blocker='%s' returned %d entries,software='%s'", blocker, len(blocking), software)
elif software == "lemmy":
- logger.info("blocker='%s',software='%s'", blocker, software)
blocking = lemmy.fetch_blocks(blocker)
logger.debug("blocker='%s' returned %d entries,software='%s'", blocker, len(blocking), software)
elif software == "friendica":
- logger.info("blocker='%s',software='%s'", blocker, software)
blocking = friendica.fetch_blocks(blocker)
logger.debug("blocker='%s' returned %d entries,software='%s'", blocker, len(blocking), software)
elif software == "misskey":
- logger.info("blocker='%s',software='%s'", blocker, software)
blocking = misskey.fetch_blocks(blocker)
logger.debug("blocker='%s' returned %d entries,software='%s'", blocker, len(blocking), software)
else: