Merge pull request #4582 from oiooj/master

fix logger tag
pull/4590/head
Philip O'Toole 2015-10-27 12:01:14 -07:00
commit 1f75ca2df1
2 changed files with 2 additions and 2 deletions

View File

@ -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),
}
}

View File

@ -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),
}
}