update sysinfo to logrus

Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
Victor Vieux 2014-10-27 17:45:38 +00:00
parent 77437c3984
commit 61b6781d59
4 changed files with 7 additions and 4 deletions

View file

@ -4,8 +4,9 @@ import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"io" "io"
"log"
"time" "time"
log "github.com/Sirupsen/logrus"
) )
type JSONLog struct { type JSONLog struct {

View file

@ -2,9 +2,10 @@ package proxy
import ( import (
"io" "io"
"log"
"net" "net"
"syscall" "syscall"
log "github.com/Sirupsen/logrus"
) )
type TCPProxy struct { type TCPProxy struct {

View file

@ -2,12 +2,13 @@ package proxy
import ( import (
"encoding/binary" "encoding/binary"
"log"
"net" "net"
"strings" "strings"
"sync" "sync"
"syscall" "syscall"
"time" "time"
log "github.com/Sirupsen/logrus"
) )
const ( const (

View file

@ -2,10 +2,10 @@ package sysinfo
import ( import (
"io/ioutil" "io/ioutil"
"log"
"os" "os"
"path" "path"
log "github.com/Sirupsen/logrus"
"github.com/docker/libcontainer/cgroups" "github.com/docker/libcontainer/cgroups"
) )