From ec5dfaf9d88a46e6cbb9e48af39d4a9226cb34c4 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Tue, 19 Mar 2019 21:44:53 -0300 Subject: [PATCH] fix(nfpm): improve logs --- internal/pipe/nfpm/nfpm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/pipe/nfpm/nfpm.go b/internal/pipe/nfpm/nfpm.go index 00c4d5db7..0e8a23b1e 100644 --- a/internal/pipe/nfpm/nfpm.go +++ b/internal/pipe/nfpm/nfpm.go @@ -101,7 +101,7 @@ func create(ctx *context.Context, format, arch string, binaries []artifact.Artif for k, v := range overrided.Files { files[k] = v } - var log = log.WithField("package", name+"."+format) + var log = log.WithField("package", name+"."+format).WithField("arch", arch) for _, binary := range binaries { src := binary.Path dst := filepath.Join(ctx.Config.NFPM.Bindir, binary.Name)