commit
1f75ca2df1
|
@ -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),
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue