Skip to content
Snippets Groups Projects
Commit b91d7e8f authored by Benjamin Wenger's avatar Benjamin Wenger
Browse files

fixed the new host logging print to include the ip address

parent 72fb72bc
Branches
Tags
No related merge requests found
......@@ -108,9 +108,6 @@ func NewHost(id *id.ID, address string, cert []byte, params HostParams) (host *H
params.CoolOffTimeout, nil)
}
jww.INFO.Printf("New Host Created: %s", host)
jww.TRACE.Printf("New Host Certificate for %v: %s...", id, cert)
if host.maxRetries == 0 {
host.maxRetries = math.MaxUint32
}
......@@ -119,6 +116,10 @@ func NewHost(id *id.ID, address string, cert []byte, params HostParams) (host *H
// Configure the host credentials
err = host.setCredentials()
//print logs
jww.INFO.Printf("New Host Created: %s", host)
jww.TRACE.Printf("New Host Certificate for %v: %s...", id, cert)
return
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment