diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-06-15 04:08:58 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-06-15 04:08:58 +0200 |
commit | e88d2abd47d545f6bb87b3de75f7ad6d2dbfc5e4 (patch) | |
tree | 710380347fb9bfe93074f403caec05b1b282dcf8 /skate | |
parent | 9f8c1b6e541b3cbf3f99c62d22ff5fa47fae9762 (diff) | |
download | refcat-e88d2abd47d545f6bb87b3de75f7ad6d2dbfc5e4.tar.gz refcat-e88d2abd47d545f6bb87b3de75f7ad6d2dbfc5e4.zip |
zippy: extend logging
Diffstat (limited to 'skate')
-rw-r--r-- | skate/zippy.go | 4 |
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) |