Change debug to info

This commit is contained in:
Chris Bednarski 2015-09-11 10:24:52 -07:00
parent 6ea318cacb
commit 39feffd67f
1 changed files with 4 additions and 4 deletions

View File

@ -181,7 +181,7 @@ func NewServer(config *Config) (*Server, error) {
// Initialize the RPC layer
// TODO: TLS...
logger.Printf("[DEBUG] nomad: starting RPC layer")
logger.Printf("[INFO] nomad: starting RPC layer")
if err := s.setupRPC(nil); err != nil {
s.Shutdown()
logger.Printf("[ERROR] nomad: failed to start RPC layer: %s", err)
@ -189,7 +189,7 @@ func NewServer(config *Config) (*Server, error) {
}
// Initialize the Raft server
logger.Printf("[DEBUG] nomad: starting Raft")
logger.Printf("[INFO] nomad: starting Raft")
if err := s.setupRaft(); err != nil {
s.Shutdown()
logger.Printf("[ERROR] nomad: failed to start Raft: %s", err)
@ -197,7 +197,7 @@ func NewServer(config *Config) (*Server, error) {
}
// Initialize the wan Serf
logger.Printf("[DEBUG] nomad: starting serf WAN")
logger.Printf("[INFO] nomad: starting serf WAN")
s.serf, err = s.setupSerf(config.SerfConfig, s.eventCh, serfSnapshot)
if err != nil {
s.Shutdown()
@ -206,7 +206,7 @@ func NewServer(config *Config) (*Server, error) {
}
// Intialize the scheduling workers
logger.Printf("[DEBUG] nomad: starting workers")
logger.Printf("[INFO] nomad: starting workers")
if err := s.setupWorkers(); err != nil {
s.Shutdown()
logger.Printf("[ERROR] nomad: failed to start workers: %s", err)