diff options
Diffstat (limited to 'internal/feed/state.go')
-rw-r--r-- | internal/feed/state.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/internal/feed/state.go b/internal/feed/state.go index 3828e37..5831ff4 100644 --- a/internal/feed/state.go +++ b/internal/feed/state.go @@ -103,9 +103,12 @@ func (feed *Feed) filterItems() []item { } if res { + if log.IsDebug() { + log.Debugf("Filter '%s' matches for item %s", feed.ItemFilter, printItem(item.Item)) + } items = append(items, item) } else if log.IsDebug() { // printItem is not for free - log.Debugf("Filter '%s' matches for item %s, removing.", feed.ItemFilter, printItem(item.Item)) + log.Debugf("Filter '%s' does not match for item %s", feed.ItemFilter, printItem(item.Item)) } } return items |