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:
@ -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)
|
||||
|
Reference in New Issue
Block a user