mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-06 00:25:55 +00:00
Set etcd log level to error
This commit is contained in:
parent
6cd8f6a970
commit
a4f9aee28e
2 changed files with 2 additions and 1 deletions
|
|
@ -115,6 +115,8 @@ func (e *Etcd) Close() error {
|
|||
func parseOptions(opt Options) *embed.Config {
|
||||
cfg := embed.NewConfig()
|
||||
cfg.Debug = false // true gives data races on grpc.EnableTracing in etcd
|
||||
cfg.LogLevel = "error"
|
||||
cfg.Logger = "zap"
|
||||
cfg.Name = opt.Name
|
||||
cfg.Dir = opt.Dir
|
||||
cfg.InitialClusterToken = opt.ClusterName
|
||||
|
|
|
|||
|
|
@ -275,7 +275,6 @@ func (c *Cluster) Start() error {
|
|||
|
||||
return cc.Start()
|
||||
})
|
||||
// fixes race on gossip: time.Sleep(time.Second)
|
||||
}
|
||||
|
||||
return eg.Wait()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue