diff options
author | Rasmus Dahlberg <rasmus@mullvad.net> | 2022-05-05 22:45:13 +0200 |
---|---|---|
committer | Rasmus Dahlberg <rasmus@mullvad.net> | 2022-05-05 23:09:23 +0200 |
commit | c10a9103f959498c360be002b2621e978bb82e19 (patch) | |
tree | 213c0ff1eb09851a34798b9e7e74f4469ce0fe36 /pkg/instance/experimental.go | |
parent | 7b8e4c899e0be8abe2b0772b9b7947e750b343b5 (diff) |
replace glog with sigsum-go's log package
Diffstat (limited to 'pkg/instance/experimental.go')
-rw-r--r-- | pkg/instance/experimental.go | 4 |
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 |