From 7accdea9d9217322722f0cbe4d1ed406b9b42c7d Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sun, 21 May 2023 13:52:40 +0200 Subject: [PATCH] [core] Adjust logging for channel meta updates to match other events Signed-off-by: Knut Ahlers --- twitchWatcher.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/twitchWatcher.go b/twitchWatcher.go index a74654d..47b7d4f 100644 --- a/twitchWatcher.go +++ b/twitchWatcher.go @@ -412,7 +412,7 @@ func (t *twitchWatcher) triggerUpdate(channel string, title, category *string, o log.WithFields(log.Fields{ "channel": channel, "category": *category, - }).Debug("Twitch metadata changed") + }).Info("Category updated") go handleMessage(ircHdl.Client(), nil, eventTypeTwitchCategoryUpdate, plugins.FieldCollectionFromData(map[string]interface{}{ "channel": "#" + channel, "category": *category, @@ -424,7 +424,7 @@ func (t *twitchWatcher) triggerUpdate(channel string, title, category *string, o log.WithFields(log.Fields{ "channel": channel, "title": *title, - }).Debug("Twitch metadata changed") + }).Info("Title updated") go handleMessage(ircHdl.Client(), nil, eventTypeTwitchTitleUpdate, plugins.FieldCollectionFromData(map[string]interface{}{ "channel": "#" + channel, "title": *title, @@ -436,7 +436,7 @@ func (t *twitchWatcher) triggerUpdate(channel string, title, category *string, o log.WithFields(log.Fields{ "channel": channel, "isLive": *online, - }).Debug("Twitch metadata changed") + }).Info("Live-status updated") evt := eventTypeTwitchStreamOnline if !*online {