From cfed4c6595a4724cddbca62d361ffa0c2fb3fb82 Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Sun, 30 Oct 2016 21:29:53 -0400 Subject: [PATCH] Update logs example in init --- command/init.go | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/command/init.go b/command/init.go index 775ad7f4f..ed10cbdfc 100644 --- a/command/init.go +++ b/command/init.go @@ -220,7 +220,16 @@ job "example" { # change_signal = "SIGHUP" # } - # Specify configuration related to log rotation + # The "logs" stana instructs the Nomad client on how many log files and + # the maximum size of those logs files to retain. Logging is enabled by + # default, but the "logs" stanza allows for finer-grained control over + # the log rotation and storage configuration. + # + # For more information and examples on the "logs" stanza, please see + # the online documentation at: + # + # https://www.nomadproject.io/docs/job-specification/logs.html + # # logs { # max_files = 10 # max_file_size = 15