aboutsummaryrefslogtreecommitdiff
path: root/pkg/instance/experimental.go
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/instance/experimental.go
parentf7aac347caf5e2aaa91921102ebed158b8ba9c27 (diff)
parentc10a9103f959498c360be002b2621e978bb82e19 (diff)
Merge remote-tracking branch 'origin/merge/glog-to-log'
Diffstat (limited to 'pkg/instance/experimental.go')
-rw-r--r--pkg/instance/experimental.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/instance/experimental.go b/pkg/instance/experimental.go
index 3db11e9..24feeaf 100644
--- a/pkg/instance/experimental.go
+++ b/pkg/instance/experimental.go
@@ -11,8 +11,8 @@ import (
"fmt"
"net/http"
+ "git.sigsum.org/sigsum-go/pkg/log"
"git.sigsum.org/sigsum-go/pkg/types"
- "github.com/golang/glog"
)
// algEd25519 identifies a checkpoint signature algorithm
@@ -21,7 +21,7 @@ const algEd25519 byte = 1
// getCheckpoint is an experimental endpoint that is not part of the official
// Sigsum API. Documentation can be found in the transparency-dev repo.
func getCheckpoint(ctx context.Context, i *Instance, w http.ResponseWriter, r *http.Request) (int, error) {
- glog.V(3).Info("handling get-checkpoint request")
+ log.Debug("handling get-checkpoint request")
sth, err := i.Stateman.ToCosignTreeHead(ctx)
if err != nil {
return http.StatusInternalServerError, err