aboutsummaryrefslogtreecommitdiffstats
path: root/skate
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-06-15 04:08:58 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-06-15 04:08:58 +0200
commite88d2abd47d545f6bb87b3de75f7ad6d2dbfc5e4 (patch)
tree710380347fb9bfe93074f403caec05b1b282dcf8 /skate
parent9f8c1b6e541b3cbf3f99c62d22ff5fa47fae9762 (diff)
downloadrefcat-e88d2abd47d545f6bb87b3de75f7ad6d2dbfc5e4.tar.gz
refcat-e88d2abd47d545f6bb87b3de75f7ad6d2dbfc5e4.zip
zippy: extend logging
Diffstat (limited to 'skate')
-rw-r--r--skate/zippy.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/skate/zippy.go b/skate/zippy.go
index fa58917..6339325 100644
--- a/skate/zippy.go
+++ b/skate/zippy.go
@@ -420,8 +420,8 @@ func uniqueMatches(docs []string, stats *statsAugment) (result []*BiblioRef, err
v := hash(doc)
if seen.Contains(v) {
stats.skipDuplicatedBref++
- log.Printf("skip-dup-bref [%d]: %v %v %v",
- stats.skipDuplicatedBref, doc.SourceReleaseIdent, doc.MatchStatus, doc.MatchReason)
+ log.Printf("skip-dup-bref [%d]: hash=%v source=%v status=%v reason=%v",
+ stats.skipDuplicatedBref, v, doc.SourceReleaseIdent, doc.MatchStatus, doc.MatchReason)
continue
}
seen.Add(v)