about summary refs log tree commit diff
path: root/tools/nixery/server/main.go
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-10-04T21·17+0100
committerVincent Ambo <github@tazj.in>2019-10-06T22·05+0100
commitf4bf3518f63501ddff42592b255fd5feaf846863 (patch)
treefcd731e62f3829f2952a40749bea87da76ee7665 /tools/nixery/server/main.go
parentd9b329ef59e35ae6070eae867cf06a5230ae3d51 (diff)
refactor(server): Replace log calls with logrus
This introduces a structured logging library that can be used (next
step) to attach additional metadata to log entries.
Diffstat (limited to 'tools/nixery/server/main.go')
-rw-r--r--tools/nixery/server/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/nixery/server/main.go b/tools/nixery/server/main.go
index b87af650650a..bad4c190c680 100644
--- a/tools/nixery/server/main.go
+++ b/tools/nixery/server/main.go
@@ -30,7 +30,6 @@ import (
 	"encoding/json"
 	"fmt"
 	"io/ioutil"
-	"log"
 	"net/http"
 	"regexp"
 	"time"
@@ -39,6 +38,7 @@ import (
 	"github.com/google/nixery/builder"
 	"github.com/google/nixery/config"
 	"github.com/google/nixery/layers"
+	log "github.com/sirupsen/logrus"
 )
 
 // ManifestMediaType is the Content-Type used for the manifest itself. This