switch to github.com/prometheus/common/log for logging

pull/152/head
Nick Owens 2015-10-30 13:20:06 -07:00
parent abe4f41937
commit eb79937340
17 changed files with 18 additions and 20 deletions

View File

@ -26,7 +26,7 @@ import (
"strings"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/log"
"github.com/prometheus/common/log"
)
const (

View File

@ -19,7 +19,7 @@ import (
"errors"
"unsafe"
"github.com/prometheus/log"
"github.com/prometheus/common/log"
)
/*

View File

@ -21,7 +21,7 @@ import (
"strings"
"syscall"
"github.com/prometheus/log"
"github.com/prometheus/common/log"
)
const (

View File

@ -25,8 +25,7 @@ import (
"time"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/log"
"github.com/prometheus/common/log"
"github.com/prometheus/node_exporter/collector/ganglia"
)

View File

@ -24,7 +24,7 @@ import (
"time"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/log"
"github.com/prometheus/common/log"
)
const lastLoginSubsystem = "last_login"

View File

@ -21,7 +21,7 @@ import (
"fmt"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/log"
"github.com/prometheus/common/log"
)
// #include <stdlib.h>

View File

@ -22,7 +22,7 @@ import (
"strings"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/log"
"github.com/prometheus/common/log"
)
type loadavgCollector struct {

View File

@ -24,7 +24,7 @@ import (
"strings"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/log"
"github.com/prometheus/common/log"
)
var (

View File

@ -19,7 +19,7 @@ import (
"errors"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/log"
"github.com/prometheus/common/log"
)
/*

View File

@ -25,7 +25,7 @@ import (
"strings"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/log"
"github.com/prometheus/common/log"
)
const (

View File

@ -26,7 +26,7 @@ import (
"strings"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/log"
"github.com/prometheus/common/log"
)
var (

View File

@ -22,7 +22,7 @@ import (
"github.com/beevik/ntp"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/log"
"github.com/prometheus/common/log"
)
var (

View File

@ -17,7 +17,7 @@ package collector
import (
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/log"
"github.com/prometheus/common/log"
"github.com/soundcloud/go-runit/runit"
)

View File

@ -20,7 +20,7 @@ import (
"github.com/kolo/xmlrpc"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/log"
"github.com/prometheus/common/log"
)
var (

View File

@ -27,10 +27,9 @@ import (
"github.com/golang/protobuf/proto"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/common/expfmt"
"github.com/prometheus/log"
dto "github.com/prometheus/client_model/go"
"github.com/prometheus/common/expfmt"
"github.com/prometheus/common/log"
)
var (

View File

@ -19,7 +19,7 @@ import (
"time"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/log"
"github.com/prometheus/common/log"
)
type timeCollector struct {

View File

@ -27,7 +27,7 @@ import (
"time"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/log"
"github.com/prometheus/common/log"
"github.com/prometheus/node_exporter/collector"
)