X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/bcf069c6a726e219bc40224653268d87776e54aa..66ee3f764dec18afadca0a7d6b260368907c5315:/services/keep-web/main.go diff --git a/services/keep-web/main.go b/services/keep-web/main.go index 724af27c7e..018b5a2e81 100644 --- a/services/keep-web/main.go +++ b/services/keep-web/main.go @@ -7,13 +7,13 @@ package main import ( "flag" "fmt" - "log" "os" "time" "git.curoverse.com/arvados.git/sdk/go/arvados" "git.curoverse.com/arvados.git/sdk/go/config" "github.com/coreos/go-systemd/daemon" + log "github.com/sirupsen/logrus" ) var ( @@ -65,6 +65,10 @@ func init() { if os.Getenv("ARVADOS_API_TOKEN") == "" { os.Setenv("ARVADOS_API_TOKEN", "xxx") } + + log.SetFormatter(&log.JSONFormatter{ + TimestampFormat: "2006-01-02T15:04:05.000000000Z07:00", + }) } func main() {