1
0
mirror of https://github.com/bgp/stayrtr.git synced 2024-05-06 15:54:54 +00:00

Use debug level logging for hash change

This commit is contained in:
Ties de Kock
2024-03-01 12:18:08 +01:00
parent 4c1c8fab66
commit 4900445114

View File

@ -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)