X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/bcf069c6a726e219bc40224653268d87776e54aa..672ecbf2d4ca909514c5f609ed76b020200cdf45:/services/keep-web/main.go diff --git a/services/keep-web/main.go b/services/keep-web/main.go index 724af27c7e..d09fce706c 100644 --- a/services/keep-web/main.go +++ b/services/keep-web/main.go @@ -7,12 +7,12 @@ package main import ( "flag" "fmt" - "log" "os" "time" "git.curoverse.com/arvados.git/sdk/go/arvados" "git.curoverse.com/arvados.git/sdk/go/config" + log "github.com/Sirupsen/logrus" "github.com/coreos/go-systemd/daemon" ) @@ -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() {