Merge pull request #1709 from neumayer/log

Log adding of servers at INFO level
This commit is contained in:
Michael Schurter 2016-09-14 15:53:10 -07:00 committed by GitHub
commit 2e6927ff8d

View file

@ -1509,7 +1509,7 @@ func (c *Client) setupConsulSyncer() error {
}
// Log the servers we are adding
c.logger.Printf("[DEBUG] client.consul: bootstrap adding following Servers: %q", nomadServerServices)
c.logger.Printf("[INFO] client.consul: bootstrap adding following Servers: %q", nomadServerServices)
c.heartbeatLock.Lock()
if atomic.LoadInt32(&c.lastHeartbeatFromQuorum) == 1 && now.Before(c.consulPullHeartbeatDeadline) {