aboutsummaryrefslogtreecommitdiff
path: root/pkg/db
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2022-05-17 13:56:53 +0200
committerLinus Nordberg <linus@nordberg.se>2022-05-17 13:56:53 +0200
commit45d7f7875ce885369b1d1aecc644875cf6bbfdba (patch)
treef015e5012ee9c5c2d843a947cee1b4edbb4f2714 /pkg/db
parentf7aac347caf5e2aaa91921102ebed158b8ba9c27 (diff)
parentc10a9103f959498c360be002b2621e978bb82e19 (diff)
Merge remote-tracking branch 'origin/merge/glog-to-log'
Diffstat (limited to 'pkg/db')
-rw-r--r--pkg/db/trillian.go4
1 files changed, 2 insertions, 2 deletions
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{