diff --git a/cluster/service.go b/cluster/service.go index 772bd25354..58e81fe21b 100644 --- a/cluster/service.go +++ b/cluster/service.go @@ -61,7 +61,7 @@ type Service struct { func NewService(c Config) *Service { return &Service{ closing: make(chan struct{}), - Logger: log.New(os.Stderr, "[tcp] ", log.LstdFlags), + Logger: log.New(os.Stderr, "[cluster] ", log.LstdFlags), statMap: influxdb.NewStatistics("cluster", "cluster", nil), } } diff --git a/tcp/mux.go b/tcp/mux.go index 5da8d0cce5..98ce991769 100644 --- a/tcp/mux.go +++ b/tcp/mux.go @@ -35,7 +35,7 @@ func NewMux() *Mux { return &Mux{ m: make(map[byte]*listener), Timeout: DefaultTimeout, - Logger: log.New(os.Stderr, "", log.LstdFlags), + Logger: log.New(os.Stderr, "[tcp] ", log.LstdFlags), } }