Merge pull request #8805 from vieux/update_sysinfo_to_logrus

update `pkg` to logrus
This commit is contained in:
Jessie Frazelle 2014-10-27 12:26:52 -07:00
commit d42bcc065a
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"
) )