From c10a9103f959498c360be002b2621e978bb82e19 Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Thu, 5 May 2022 22:45:13 +0200 Subject: replace glog with sigsum-go's log package --- pkg/db/trillian.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/db') diff --git a/pkg/db/trillian.go b/pkg/db/trillian.go index 024a021..3147c8d 100644 --- a/pkg/db/trillian.go +++ b/pkg/db/trillian.go @@ -5,9 +5,9 @@ import ( "fmt" "time" + "git.sigsum.org/sigsum-go/pkg/log" "git.sigsum.org/sigsum-go/pkg/requests" "git.sigsum.org/sigsum-go/pkg/types" - "github.com/golang/glog" "github.com/google/trillian" trillianTypes "github.com/google/trillian/types" "google.golang.org/grpc/codes" @@ -33,7 +33,7 @@ func (c *TrillianClient) AddLeaf(ctx context.Context, req *requests.Leaf) error } serialized := leaf.ToBinary() - glog.V(3).Infof("queueing leaf request: %x", types.LeafHash(serialized)) + log.Debug("queueing leaf request: %x", types.LeafHash(serialized)) rsp, err := c.GRPC.QueueLeaf(ctx, &trillian.QueueLeafRequest{ LogId: c.TreeID, Leaf: &trillian.LogLeaf{ -- cgit v1.2.3