mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-03 07:12:27 +00:00
Silence versioner warnings for unmatched files (fixes #1117)
This commit is contained in:
parent
229b218203
commit
514bb0beda
@ -232,7 +232,9 @@ func (v Staggered) expire(versions []string) {
|
||||
|
||||
versionTime, err := time.Parse(TimeFormat, filenameTag(file))
|
||||
if err != nil {
|
||||
l.Infof("Versioner: file name %q is invalid: %v", file, err)
|
||||
if debug {
|
||||
l.Debugf("Versioner: file name %q is invalid: %v", file, err)
|
||||
}
|
||||
continue
|
||||
}
|
||||
age := int64(time.Since(versionTime).Seconds())
|
||||
|
Loading…
Reference in New Issue
Block a user