]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sat, 22 Jul 2023 15:23:35 +0000 (17:23 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 22 Jul 2023 15:23:35 +0000 (17:23 +0200)
- no need to issue warnings for these messages

fba/commands.py

index 6948cee6b4eb7375d39a71ca274e1db4e3bf4c6a..e7813512328ae073347dbf78bf0a1c12c9e16e2d 100644 (file)
@@ -153,7 +153,7 @@ def fetch_pixelfed_api(args: argparse.Namespace) -> int:
             logger.debug("domain='%s' - AFTER!", domain)
 
             if not utils.is_domain_wanted(domain):
-                logger.warning("domain='%s' is not wanted - SKIPPED!", domain)
+                logger.debug("domain='%s' is not wanted - SKIPPED!", domain)
                 continue
             elif instances.is_registered(domain):
                 logger.debug("domain='%s' is already registered - SKIPPED!", domain)
@@ -224,7 +224,7 @@ def fetch_bkali(args: argparse.Namespace) -> int:
                 logger.debug("entry[domain] is empty - SKIPPED!")
                 continue
             elif not utils.is_domain_wanted(entry["domain"]):
-                logger.warning("entry[domain]='%s' is not wanted - SKIPPED!", entry["domain"])
+                logger.debug("entry[domain]='%s' is not wanted - SKIPPED!", entry["domain"])
                 continue
             elif instances.is_registered(entry["domain"]):
                 logger.debug("entry[domain]='%s' is already registered - SKIPPED!", entry["domain"])
@@ -308,7 +308,7 @@ def fetch_blocks(args: argparse.Namespace) -> int:
             logger.debug("blocker='%s',software='%s' has empty nodeinfo_url", blocker, software)
             continue
         elif not utils.is_domain_wanted(blocker):
-            logger.warning("blocker='%s' is not wanted - SKIPPED!", blocker)
+            logger.debug("blocker='%s' is not wanted - SKIPPED!", blocker)
             continue
 
         logger.debug("blocker='%s'", blocker)
@@ -406,7 +406,7 @@ def fetch_blocks(args: argparse.Namespace) -> int:
             logger.debug("block[blocked]='%s' - AFTER!", block["blocked"])
 
             if not utils.is_domain_wanted(block["blocked"]):
-                logger.warning("blocked='%s' is not wanted - SKIPPED!", block["blocked"])
+                logger.debug("blocked='%s' is not wanted - SKIPPED!", block["blocked"])
                 continue
             elif block["block_level"] in ["accept", "accepted"]:
                 logger.debug("blocked='%s' is accepted, not wanted here - SKIPPED!", block["blocked"])
@@ -534,7 +534,7 @@ def fetch_observer(args: argparse.Namespace) -> int:
             logger.debug("domain='%s' - AFTER!", domain)
 
             if not utils.is_domain_wanted(domain):
-                logger.warning("domain='%s' is not wanted - SKIPPED!", domain)
+                logger.debug("domain='%s' is not wanted - SKIPPED!", domain)
                 continue
             elif instances.is_registered(domain):
                 logger.debug("domain='%s' is already registered - SKIPPED!", domain)
@@ -774,7 +774,7 @@ def fetch_fba_rss(args: argparse.Namespace) -> int:
             logger.debug("domain='%s' - AFTER!", domain)
 
             if not utils.is_domain_wanted(domain):
-                logger.warning("domain='%s' is not wanted - SKIPPED!", domain)
+                logger.debug("domain='%s' is not wanted - SKIPPED!", domain)
                 continue
             elif domain in domains:
                 logger.debug("domain='%s' is already added - SKIPPED!", domain)
@@ -852,7 +852,7 @@ def fetch_fbabot_atom(args: argparse.Namespace) -> int:
                     logger.debug("domain='%s' - AFTER!", domain)
 
                     if not utils.is_domain_wanted(domain):
-                        logger.warning("domain='%s' is not wanted - SKIPPED!", domain)
+                        logger.debug("domain='%s' is not wanted - SKIPPED!", domain)
                         continue
                     elif domain in domains:
                         logger.debug("domain='%s' is already added - SKIPPED!", domain)
@@ -929,7 +929,7 @@ def fetch_instances(args: argparse.Namespace) -> int:
         logger.debug("domain='%s' - AFTER!", domain)
 
         if not utils.is_domain_wanted(domain):
-            logger.warning("Domain domain='%s' is not wanted - SKIPPED!", domain)
+            logger.debug("Domain domain='%s' is not wanted - SKIPPED!", domain)
             continue
 
         try:
@@ -1165,7 +1165,7 @@ def fetch_txt(args: argparse.Namespace) -> int:
                     logger.debug("domain is empty - SKIPPED!")
                     continue
                 elif not utils.is_domain_wanted(domain):
-                    logger.warning("domain='%s' is not wanted - SKIPPED!", domain)
+                    logger.debug("domain='%s' is not wanted - SKIPPED!", domain)
                     continue
                 elif instances.is_recent(domain):
                     logger.debug("domain='%s' has been recently crawled - SKIPPED!", domain)
@@ -1225,7 +1225,7 @@ def fetch_fedipact(args: argparse.Namespace) -> int:
             logger.debug("domain='%s' - AFTER!", domain)
 
             if not utils.is_domain_wanted(domain):
-                logger.warning("domain='%s' is not wanted - SKIPPED!", domain)
+                logger.debug("domain='%s' is not wanted - SKIPPED!", domain)
                 continue
             elif instances.is_registered(domain):
                 logger.debug("domain='%s' is already registered - SKIPPED!", domain)
@@ -1415,7 +1415,7 @@ def fetch_joinfediverse(args: argparse.Namespace) -> int:
             logger.debug("block[blocked] is empty - SKIPPED!")
             continue
         elif not utils.is_domain_wanted(block["blocked"]):
-            logger.warning("block[blocked]='%s' is not wanted - SKIPPED!", block["blocked"])
+            logger.debug("block[blocked]='%s' is not wanted - SKIPPED!", block["blocked"])
             continue
         elif instances.is_recent(block["blocked"]):
             logger.debug("block[blocked]='%s' has been recently checked - SKIPPED!", block["blocked"])
@@ -1438,7 +1438,7 @@ def fetch_joinfediverse(args: argparse.Namespace) -> int:
                 logger.debug("block[blocked] is empty - SKIPPED!")
                 continue
             elif not utils.is_domain_wanted(block["blocked"]):
-                logger.warning("blocked='%s' is not wanted - SKIPPED!", block["blocked"])
+                logger.debug("blocked='%s' is not wanted - SKIPPED!", block["blocked"])
                 continue
 
             logger.debug("blocked='%s',reason='%s'", block["blocked"], block["reason"])
@@ -1535,7 +1535,7 @@ def recheck_obfuscation(args: argparse.Namespace) -> int:
                 obfuscated = obfuscated + 1
                 blocked = utils.deobfuscate(block["blocked"], row["domain"], block["hash"] if "hash" in block else None)
             elif not utils.is_domain_wanted(block["blocked"]):
-                logger.warning("blocked='%s' is not wanted - SKIPPED!", block["blocked"])
+                logger.debug("blocked='%s' is not wanted - SKIPPED!", block["blocked"])
                 continue
             elif blocks.is_instance_blocked(row["domain"], block["blocked"]):
                 logger.debug("blocked='%s' is already blocked - SKIPPED!", block["blocked"])
@@ -1633,7 +1633,7 @@ def fetch_fedilist(args: argparse.Namespace) -> int:
         logger.debug("domain='%s' - AFTER!", domain)
 
         if not utils.is_domain_wanted(domain):
-            logger.warning("domain='%s' is not wanted - SKIPPED!", domain)
+            logger.debug("domain='%s' is not wanted - SKIPPED!", domain)
             continue
         elif (args.force is None or not args.force) and instances.is_registered(domain):
             logger.debug("domain='%s' is already registered, --force not specified: args.force[]='%s'", domain, type(args.force))
@@ -1752,7 +1752,7 @@ def fetch_instances_social(args: argparse.Namespace) -> int:
         logger.debug("domain='%s' - AFTER!", domain)
 
         if not utils.is_domain_wanted(domain):
-            logger.warning("domain='%s' is not wanted - SKIPPED!", domain)
+            logger.debug("domain='%s' is not wanted - SKIPPED!", domain)
             continue
         elif domain in domains:
             logger.debug("domain='%s' is already added - SKIPPED!", domain)