From 9946e8977bb02d5600312b497fdef5175eaeb948 Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Fri, 30 Sep 2016 14:09:02 -0400 Subject: [PATCH 1/2] Clarify logs docs --- website/source/docs/jobspec/index.html.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/website/source/docs/jobspec/index.html.md b/website/source/docs/jobspec/index.html.md index 90ed20905..09aa5e052 100644 --- a/website/source/docs/jobspec/index.html.md +++ b/website/source/docs/jobspec/index.html.md @@ -419,14 +419,14 @@ a validation error when a job is submitted. ``` logs { - max_files = 3 - max_file_size = 10 + max_files = 3 + max_file_size = 10 # Size is in MB } ``` -In the above example we have asked Nomad to retain 3 rotated files for both -`stderr` and `stdout` and size of each file is 10MB. The minimum disk space that -would be required for the task would be 60MB. +In the above example we have asked Nomad to retain 3 rotated files for each of +`stderr` and `stdout`, each a maximum size of 10MB per file. The minimum disk +space this would require is 60MB (3 stderr files * 3 stdout files * 10MB = 60MB). From e5063b1d46cdb2c4d276fe486a1e565cbde690a4 Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Fri, 30 Sep 2016 14:15:11 -0400 Subject: [PATCH 2/2] Fix formatting --- website/source/docs/jobspec/index.html.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/source/docs/jobspec/index.html.md b/website/source/docs/jobspec/index.html.md index 09aa5e052..4cd104895 100644 --- a/website/source/docs/jobspec/index.html.md +++ b/website/source/docs/jobspec/index.html.md @@ -426,7 +426,8 @@ logs { In the above example we have asked Nomad to retain 3 rotated files for each of `stderr` and `stdout`, each a maximum size of 10MB per file. The minimum disk -space this would require is 60MB (3 stderr files * 3 stdout files * 10MB = 60MB). +space this would require is 60MB +(3 `stderr` files * 3 `stdout` files * 10MB = 60MB).