Change failure to talk to DNS seeders to debug.
This is just a temporary failure and shouldn't be a warning. Also, remove redundant prefix on profile server log print while here.
This commit is contained in:
parent
24aba3189e
commit
10907027b7
2 changed files with 2 additions and 2 deletions
2
btcd.go
2
btcd.go
|
@ -44,7 +44,7 @@ func btcdMain() error {
|
|||
if cfg.Profile != "" {
|
||||
go func() {
|
||||
listenAddr := net.JoinHostPort("", cfg.Profile)
|
||||
log.Infof("BTCD: Profile server listening on %s", listenAddr)
|
||||
log.Infof("Profile server listening on %s", listenAddr)
|
||||
log.Errorf("%v", http.ListenAndServe(listenAddr, nil))
|
||||
}()
|
||||
}
|
||||
|
|
|
@ -158,7 +158,7 @@ func dnsDiscover(seeder string, proxy string) []net.IP {
|
|||
seederPlusProxy = fmt.Sprintf("%s (proxy %s)",
|
||||
seeder, proxy)
|
||||
}
|
||||
log.Warnf("DISC: Failed to fetch dns seeds "+
|
||||
log.Debugf("DISC: Unable to fetch dns seeds "+
|
||||
"from %s: %v", seederPlusProxy, err)
|
||||
return []net.IP{}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue