From 4847c19eafd45ecfe90ea787858f4e69259cfabf Mon Sep 17 00:00:00 2001 From: vilmibm Date: Fri, 3 Mar 2023 21:18:23 +0000 Subject: [PATCH] this logging was of little value and caused sadness --- stats/stats.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/stats/stats.go b/stats/stats.go index 41f01d0..3a09a91 100644 --- a/stats/stats.go +++ b/stats/stats.go @@ -5,7 +5,6 @@ import ( "bytes" "fmt" "io/ioutil" - "log" "os" "os/exec" "path" @@ -16,8 +15,6 @@ import ( "time" ) -// TODO FIX LOGGING TO STDOUT (move this to the cmd) - const defaultIndexPath = "/etc/skel/public_html/index.html" const description = `an intentional digital community for creating and sharing works of art, peer education, and technological anachronism. we are @@ -99,8 +96,6 @@ func getNews() (entries []NewsEntry, err error) { current.Pubdate = strings.TrimSpace(kv[1]) } else if kv[0] == "title" { current.Title = strings.TrimSpace(kv[1]) - } else { - log.Printf("ignoring unknown metadata in news entry: %v\n", newsLine) } if current.Pubdate != "" && current.Title != "" { inMeta = false