From 74de589513bf740e3dd3cd082a2ffd9a36c751c1 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Wed, 12 Mar 2025 00:57:28 +0800 Subject: [PATCH] :mute: Disable logging of mastodon timeline response --- pkg/internal/services/mastodon/fetch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/internal/services/mastodon/fetch.go b/pkg/internal/services/mastodon/fetch.go index 9c7f6a8..987605e 100644 --- a/pkg/internal/services/mastodon/fetch.go +++ b/pkg/internal/services/mastodon/fetch.go @@ -76,7 +76,7 @@ func FetchTimeline(server string, limit int) ([]MastodonPost, error) { return nil, fmt.Errorf("unexpected status code: %d, response: %s", resp.StatusCode, body) } - log.Debug().Str("url", url).Bytes("response", body).Msg("Fetched mastodon timeline...") + log.Debug().Str("url", url).Msg("Fetched mastodon timeline...") var posts []MastodonPost if err := jsoniter.Unmarshal(body, &posts); err != nil {