Clarify logs docs

This commit is contained in:
Seth Vargo 2016-09-30 14:09:02 -04:00
parent 0b433e4c73
commit a49e97e135
No known key found for this signature in database
GPG Key ID: 905A90C2949E8787
1 changed files with 5 additions and 5 deletions

View File

@ -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).
<a id="artifact_doc"></a>