From 6b923572bd2cd3db5e83dc71d2fe92848796bc28 Mon Sep 17 00:00:00 2001 From: Ryan Barrett Date: Thu, 5 Dec 2024 22:03:16 -0800 Subject: [PATCH] atproto_firehose.subscribe: prune logging --- atproto_firehose.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/atproto_firehose.py b/atproto_firehose.py index e5d36e56..2a11cc27 100644 --- a/atproto_firehose.py +++ b/atproto_firehose.py @@ -220,7 +220,7 @@ def subscribe(): continue if op.repo in atproto_dids and op.action == 'delete': - logger.info(f'Got delete from our ATProto user: {op}') + logger.debug(f'Got delete from our ATProto user: {op}') # TODO: also detect deletes of records that *reference* our bridged # users, eg a delete of a follow or like or repost of them. # not easy because we need to getRecord the record to check @@ -274,7 +274,7 @@ def is_ours(ref, also_atproto_users=False): if not is_ours(reply['parent'], also_atproto_users=True): continue - logger.info(f'Got one: {op.action} {op.repo} {op.path}') + logger.debug(f'Got one: {op.action} {op.repo} {op.path}') commits.put(op)