diff options
author | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-05-01 22:05:27 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-05-01 22:05:27 +0200 |
commit | b44a7b8307f2928039f0da8205518818fb4247b1 (patch) | |
tree | bd0bbabf57f10b99e88b26087b34bd67f1aacbff | |
parent | 04a4897b69f9a10bdea27fb1133bcab71c40b687 (diff) | |
download | feed2imap-go-b44a7b8307f2928039f0da8205518818fb4247b1.tar.gz feed2imap-go-b44a7b8307f2928039f0da8205518818fb4247b1.tar.bz2 feed2imap-go-b44a7b8307f2928039f0da8205518818fb4247b1.zip |
Logging fixes
Diffstat (limited to '')
-rw-r--r-- | internal/feed/cache_v1.go | 2 | ||||
-rw-r--r-- | main.go | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/internal/feed/cache_v1.go b/internal/feed/cache_v1.go index 5f8c8f4..bbb8f13 100644 --- a/internal/feed/cache_v1.go +++ b/internal/feed/cache_v1.go @@ -118,7 +118,7 @@ func (cache *v1Cache) findItem(feed *Feed) CachedFeed { changed = true break } else if otherId.Url == fDescr.Url { - log.Warnf("Feed with URL '%s' seems to have changed its name: new '%s', old '%s'. Updating", + log.Warnf("Feed with URL '%s' seems to have changed its name: new '%s', old '%s'. Updating.", fDescr.Url, fDescr.Name, otherId.Name) changed = true break @@ -76,6 +76,7 @@ func run() error { state.RemoveUndue() if state.NumFeeds() == 0 { + log.Print("Nothing to do, exiting.") // nothing to do return nil } |