From 87610af27a456e0f5c07d38e73b97a2b8910b071 Mon Sep 17 00:00:00 2001 From: Branden J Brown Date: Sun, 27 Oct 2024 10:12:53 -0400 Subject: [PATCH] robot: don't log every stream info request For #29. --- robot.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/robot.go b/robot.go index f1be131..6bed98f 100644 --- a/robot.go +++ b/robot.go @@ -190,7 +190,6 @@ func (robo *Robot) streamsLoop(ctx context.Context, channels *syncmap.Map[string streams, err = twitch.UserStreams(ctx, robo.twitch, tok, streams) switch { case err == nil: - slog.InfoContext(ctx, "stream infos", slog.Int("count", len(streams))) // Mark online streams as enabled. // First map names to online status. for _, s := range streams { @@ -243,7 +242,6 @@ func (robo *Robot) streamsLoop(ctx context.Context, channels *syncmap.Map[string streams, err = twitch.UserStreams(ctx, robo.twitch, tok, streams) switch { case err == nil: - slog.InfoContext(ctx, "stream infos", slog.Int("count", len(streams))) // Mark online streams as enabled. // First map names to online status. for _, s := range streams {