From 7e545586bc52449ba511b3ee8710e86b0fe8a77b Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Thu, 11 May 2023 20:24:54 +0000 Subject: [PATCH] Trace --- distro/debian/snapshot/snapshot.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/distro/debian/snapshot/snapshot.go b/distro/debian/snapshot/snapshot.go index e8e93b5..f32ba4d 100644 --- a/distro/debian/snapshot/snapshot.go +++ b/distro/debian/snapshot/snapshot.go @@ -287,12 +287,15 @@ func Packages(srcname, version, arch, regex string) (pkgs []Package, err error) continue } + log.Trace().Msgf("matched %v", res.Name) + var pkg Package pkg, err = NewPackage(res.Name, srcname, version, arch) if err != nil { return } + log.Trace().Msgf("append %v", pkg.Name) pkgs = append(pkgs, pkg) }