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