Skip to content

Commit

Permalink
/r/: prune down logging
Browse files Browse the repository at this point in the history
for #1149
  • Loading branch information
snarfed committed Dec 3, 2024
1 parent 65feae0 commit fde2e94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions redirect.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def redir(to):
if domain in DOMAIN_ALLOWLIST:
break
if web_user := Web.get_by_id(domain):
logger.info(f'Found web user for domain {domain}')
logger.debug(f'Found web user for domain {domain}')
break
else:
if not as2_request:
Expand All @@ -87,7 +87,7 @@ def redir(to):
if not as2_request:
# redirect. include rel-alternate link to make posts discoverable by entering
# https://fed.brid.gy/r/[URL] in a fediverse instance's search.
logger.info(f'redirecting to {to}')
logger.debug(f'redirecting to {to}')
return f"""\
<!doctype html>
<html>
Expand Down

0 comments on commit fde2e94

Please sign in to comment.