mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 04:47:18 +00:00
Mask All Debug Logs for Endpoints (#8624)
This commit is contained in:
parent
ce725ceec3
commit
693ce7b952
@ -497,7 +497,7 @@ func (s *Service) waitForConnection() {
|
||||
for {
|
||||
select {
|
||||
case <-ticker.C:
|
||||
log.Debugf("Trying to dial endpoint: %s", s.currHttpEndpoint)
|
||||
log.Debugf("Trying to dial endpoint: %s", logutil.MaskCredentialsLogging(s.currHttpEndpoint))
|
||||
errConnect := s.connectToPowChain()
|
||||
if errConnect != nil {
|
||||
errorLogger(errConnect, "Could not connect to powchain endpoint")
|
||||
@ -905,7 +905,7 @@ func (s *Service) fallbackToNextEndpoint() {
|
||||
return
|
||||
}
|
||||
s.currHttpEndpoint = s.httpEndpoints[nextIndex]
|
||||
log.Infof("Falling back to alternative endpoint: %s", s.currHttpEndpoint)
|
||||
log.Infof("Falling back to alternative endpoint: %s", logutil.MaskCredentialsLogging(s.currHttpEndpoint))
|
||||
}
|
||||
|
||||
func dedupEndpoints(endpoints []string) []string {
|
||||
|
Loading…
Reference in New Issue
Block a user