fix: print consul svc addr in debug log (#12115)
* fix: print consul svc addr in debug log * fix: add small change log 12115.txt
This commit is contained in:
parent
9a26209a9d
commit
de2ee46525
|
@ -0,0 +1,3 @@
|
|||
```release-note:bug
|
||||
service_registration/consul: Print config service_address set in DEBUG log
|
||||
```
|
|
@ -120,7 +120,7 @@ func NewServiceRegistration(conf map[string]string, logger log.Logger, state sr.
|
|||
serviceAddr = &serviceAddrStr
|
||||
}
|
||||
if logger.IsDebug() {
|
||||
logger.Debug("config service_address set", "service_address", serviceAddr)
|
||||
logger.Debug("config service_address set", "service_address", serviceAddrStr)
|
||||
}
|
||||
|
||||
checkTimeout := defaultCheckTimeout
|
||||
|
|
Loading…
Reference in New Issue