Skip to content

Commit 95dccce

Browse files
committed
update information on how to handle log rotation timeouts in the datadog agent
1 parent ca523ac commit 95dccce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/en/logs/guide/mechanisms-ensure-logs-not-lost.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ further_reading:
2020
## Log rotate
2121

2222
When a file is rotated, the Agent keeps [tailing][1] the old file while starting to tail the newly created file in parallel.
23-
Although the Agent continues to tail the old file, a 60-second timeout after the log rotation is set to ensure the agent is using its resources to tail the most up-to-date files.
23+
Although the Agent continues to tail the old file, a timeout is set after the log rotation. Any data that remains after the timeout is not read by the agent and is lost. If you find yourself hitting this case with any frequency, it is recommended to increase the timeout from its default of 60 seconds. The timeout interval can be defined with the `logs_config.close_timeout` setting in the Agent's main configuration file or the `DD_LOGS_CONFIG_CLOSE_TIMEOUT` env variable.
2424

2525
## Network issues
2626

0 commit comments

Comments
 (0)