From 1ee380cc397d6f72ddbd81de0726bbee2ed2b352 Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Fri, 29 May 2015 13:43:56 +0200 Subject: [PATCH] Migrate logging to prometheus/log. --- bridge.go | 2 +- main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bridge.go b/bridge.go index 0d603b2..61f6862 100644 --- a/bridge.go +++ b/bridge.go @@ -18,7 +18,6 @@ import ( "encoding/binary" "fmt" "hash/fnv" - "log" "net" "regexp" "strconv" @@ -26,6 +25,7 @@ import ( "github.com/prometheus/client_golang/model" "github.com/prometheus/client_golang/prometheus" + "github.com/prometheus/log" ) const ( diff --git a/main.go b/main.go index c72bfbc..50c4bba 100644 --- a/main.go +++ b/main.go @@ -15,13 +15,13 @@ package main import ( "flag" - "log" "net" "net/http" "strconv" "github.com/howeyc/fsnotify" "github.com/prometheus/client_golang/prometheus" + "github.com/prometheus/log" ) var (