mirror of
https://github.com/kemko/nomad.git
synced 2026-01-03 17:05:43 +03:00
nomad: remove noisy logs
This commit is contained in:
@@ -181,7 +181,6 @@ func NewServer(config *Config) (*Server, error) {
|
||||
|
||||
// Initialize the RPC layer
|
||||
// TODO: TLS...
|
||||
logger.Printf("[INFO] nomad: starting RPC layer")
|
||||
if err := s.setupRPC(nil); err != nil {
|
||||
s.Shutdown()
|
||||
logger.Printf("[ERR] nomad: failed to start RPC layer: %s", err)
|
||||
@@ -189,7 +188,6 @@ func NewServer(config *Config) (*Server, error) {
|
||||
}
|
||||
|
||||
// Initialize the Raft server
|
||||
logger.Printf("[INFO] nomad: starting Raft")
|
||||
if err := s.setupRaft(); err != nil {
|
||||
s.Shutdown()
|
||||
logger.Printf("[ERR] nomad: failed to start Raft: %s", err)
|
||||
@@ -197,7 +195,6 @@ func NewServer(config *Config) (*Server, error) {
|
||||
}
|
||||
|
||||
// Initialize the wan Serf
|
||||
logger.Printf("[INFO] nomad: starting serf WAN")
|
||||
s.serf, err = s.setupSerf(config.SerfConfig, s.eventCh, serfSnapshot)
|
||||
if err != nil {
|
||||
s.Shutdown()
|
||||
@@ -206,7 +203,6 @@ func NewServer(config *Config) (*Server, error) {
|
||||
}
|
||||
|
||||
// Intialize the scheduling workers
|
||||
logger.Printf("[INFO] nomad: starting workers")
|
||||
if err := s.setupWorkers(); err != nil {
|
||||
s.Shutdown()
|
||||
logger.Printf("[ERR] nomad: failed to start workers: %s", err)
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
---
|
||||
layout: "docs"
|
||||
page_title: "Running and Stopping"
|
||||
sidebar_current: "docs-agent-running"
|
||||
description: |-
|
||||
Learn about the the lifecycle of a Nomad agent, running and stopping.
|
||||
---
|
||||
|
||||
# Running and Stopping
|
||||
|
||||
TODO
|
||||
Reference in New Issue
Block a user