consul fixes

This commit is contained in:
Piotr Biernat 2023-07-26 23:19:17 +02:00
parent 4d1f3644b0
commit 1de38fdfdf

View File

@ -120,7 +120,7 @@ func (s *Service) InitHealthChecks() {
func (s *Service) Connect() (*connect.Service, error) { func (s *Service) Connect() (*connect.Service, error) {
l := hclog.New(&hclog.LoggerOptions{ l := hclog.New(&hclog.LoggerOptions{
Name: "consul-registry", Name: "consul-registry",
Level: hclog.Debug, Level: hclog.Trace,
}) })
svc, err := connect.NewServiceWithLogger(s.Name, s.client, l) svc, err := connect.NewServiceWithLogger(s.Name, s.client, l)
s.connect = svc s.connect = svc