From 490044511492299d5f9957a8d26502b4f2483ac1 Mon Sep 17 00:00:00 2001 From: Ties de Kock Date: Fri, 1 Mar 2024 12:18:08 +0100 Subject: [PATCH] Use debug level logging for hash change --- cmd/stayrtr/stayrtr.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/stayrtr/stayrtr.go b/cmd/stayrtr/stayrtr.go index 5d73c76..cbcbc5a 100644 --- a/cmd/stayrtr/stayrtr.go +++ b/cmd/stayrtr/stayrtr.go @@ -519,7 +519,7 @@ func (s *state) updateFile(file string) (bool, error) { } } - log.Infof("new cache file: Updating sha256 hash %x -> %x", s.lasthashCache, hsum) + log.Debugf("new cache file: Updating sha256 hash %x -> %x", s.lasthashCache, hsum) s.lasthashCache = hsum rpkilistjson, err := decodeJSON(data) @@ -553,7 +553,7 @@ func (s *state) updateSlurm(file string) (bool, error) { return false, IdenticalFile{File: file} } } - log.Infof("new slurm file: Updating sha256 hash %x -> %x", s.lasthashCache, hsum) + log.Debugf("new slurm file: Updating sha256 hash %x -> %x", s.lasthashCache, hsum) s.lasthashSlurm = hsum buf := bytes.NewBuffer(data)