From e88d2abd47d545f6bb87b3de75f7ad6d2dbfc5e4 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Tue, 15 Jun 2021 04:08:58 +0200 Subject: zippy: extend logging --- skate/zippy.go | 4 ++-- 1 file 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) -- cgit v1.2.3