Browse code

update sysinfo to logrus

Signed-off-by: Victor Vieux <vieux@docker.com>

Victor Vieux authored on 2014/10/28 02:45:38
Showing 4 changed files
... ...
@@ -4,8 +4,9 @@ import (
4 4
 	"encoding/json"
5 5
 	"fmt"
6 6
 	"io"
7
-	"log"
8 7
 	"time"
8
+
9
+	log "github.com/Sirupsen/logrus"
9 10
 )
10 11
 
11 12
 type JSONLog struct {
... ...
@@ -2,9 +2,10 @@ package proxy
2 2
 
3 3
 import (
4 4
 	"io"
5
-	"log"
6 5
 	"net"
7 6
 	"syscall"
7
+
8
+	log "github.com/Sirupsen/logrus"
8 9
 )
9 10
 
10 11
 type TCPProxy struct {
... ...
@@ -2,12 +2,13 @@ package proxy
2 2
 
3 3
 import (
4 4
 	"encoding/binary"
5
-	"log"
6 5
 	"net"
7 6
 	"strings"
8 7
 	"sync"
9 8
 	"syscall"
10 9
 	"time"
10
+
11
+	log "github.com/Sirupsen/logrus"
11 12
 )
12 13
 
13 14
 const (
... ...
@@ -2,10 +2,10 @@ package sysinfo
2 2
 
3 3
 import (
4 4
 	"io/ioutil"
5
-	"log"
6 5
 	"os"
7 6
 	"path"
8 7
 
8
+	log "github.com/Sirupsen/logrus"
9 9
 	"github.com/docker/libcontainer/cgroups"
10 10
 )
11 11