From 5607116b3015e2c1830bf458ce5cda0011c949fa Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Fri, 21 Feb 2025 07:49:40 -0800 Subject: [PATCH] Disable chatty skipped update logs --- core/cron.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/core/cron.go b/core/cron.go index 2362125..d72a1d4 100644 --- a/core/cron.go +++ b/core/cron.go @@ -192,12 +192,13 @@ func fetchReadySources(db DB) { continue } if nextUpdate.After(now) { - log.Printf( - "%s: last update %s, next update %s", - schedule.Source, - schedule.LastUpdated.Format("2006-01-02 15:04:05"), - nextUpdate.Format("2006-01-02 15:04:05"), - ) + // TODO log this at a debug log level + // log.Printf( + // "%s: last update %s, next update %s", + // schedule.Source, + // schedule.LastUpdated.Format("2006-01-02 15:04:05"), + // nextUpdate.Format("2006-01-02 15:04:05"), + // ) continue } log.Printf("%s: fetching", schedule.Source)