Skip to content

Commit

Permalink
Fix log levels on listing-page filtering
Browse files Browse the repository at this point in the history
Those messages are only useful when debugging a config,
so should be debug.
  • Loading branch information
jeremyh committed Feb 19, 2024
1 parent 3c140fc commit 1ec793b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fetch/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,17 +336,17 @@ def trigger_url(self, reporter, session, url):
href_ = anchor.attrib['href']

if not name:
_log.info("Skipping empty anchor for %r", href_)
_log.debug("Skipping empty anchor for %r", href_)
continue

source_url = urljoin(url, href_)

if not href_.endswith(name):
_log.info('Not a filename %r, skipping.', name)
_log.debug('Not a filename %r, skipping.', name)
continue

if not re.match(self.name_pattern, name):
_log.info("Filename (%r) doesn't match pattern, skipping.", name)
_log.debug("Filename (%r) doesn't match pattern, skipping.", name)
continue
urls_names.append((source_url, name))

Expand Down

0 comments on commit 1ec793b

Please sign in to comment.