Update logs example in init

This commit is contained in:
Seth Vargo 2016-10-30 21:29:53 -04:00
parent 2f050a535d
commit 3e3ffcb9ec
No known key found for this signature in database
GPG key ID: 905A90C2949E8787

View file

@ -220,7 +220,16 @@ job "example" {
# change_signal = "SIGHUP" # 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 { # logs {
# max_files = 10 # max_files = 10
# max_file_size = 15 # max_file_size = 15