From 3fe3b3e6dcf5ac8024547d21c4c3ddf4de852c41 Mon Sep 17 00:00:00 2001 From: Freddy Date: Fri, 19 Apr 2019 14:07:18 -0600 Subject: [PATCH] Clarify -log-rotate-duration string format and default value --- website/source/docs/agent/options.html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/source/docs/agent/options.html.md b/website/source/docs/agent/options.html.md index 44529c8aa7..e15f59b362 100644 --- a/website/source/docs/agent/options.html.md +++ b/website/source/docs/agent/options.html.md @@ -245,7 +245,7 @@ will exit with an error at startup. * `-log-rotate-bytes` - to specify the number of bytes that should be written to a log before it needs to be rotated. Unless specified, there is no limit to the number of bytes that can be written to a log file. -* `-log-rotate-duration` - to specify the maximum duration a log should be written to before it needs to be rotated. Unless specified, logs are rotated on a daily basis (24 hrs). +* `-log-rotate-duration` - to specify the maximum duration a log should be written to before it needs to be rotated. Must be a duration value such as 30s. Defaults to 24h. * `-join` - Address of another agent to join upon starting up. This can be