Skip to content

Conversation

keisku
Copy link
Contributor

@keisku keisku commented May 25, 2022

What does this PR do?

Add the explanation of the log rotation configuration of the Datadog Agent.

Motivation

The current document seems to suggest there are not configurations for log rotation.

Screen Shot 2022-05-25 at 9 19 55

Additional Notes

log_file_max_size : https://github.com/DataDog/datadog-agent/blob/012ef7c50378245a203de497ebc487546b30187a/pkg/config/config_template.yaml#L1928-L1933
log_file_max_rolls: https://github.com/DataDog/datadog-agent/blob/012ef7c50378245a203de497ebc487546b30187a/pkg/config/config_template.yaml#L1935-L1940


Reviewer checklist

  • Review the changed files.
  • Review the URLs listed in the Preview section.
  • Check images for PII
  • Review any mentions of "Contact Datadog support" for internal support documentation.

@keisku keisku requested a review from a team as a code owner May 25, 2022 00:24
@github-actions github-actions bot added agent Content changed in the Agent folder Guide Content impacting a guide labels May 25, 2022
@github-actions
Copy link
Contributor

Preview links (active after the build_preview check completes):
https://docs-staging.datadoghq.com/keisku/logrotation_config/agent/guide/agent-log-files

@buraizu buraizu added the editorial review Waiting on a more in-depth review label May 25, 2022
@buraizu buraizu changed the title Log rotation configurations [DOCS-3558] Log rotation configurations May 25, 2022
@buraizu
Copy link
Contributor

buraizu commented May 25, 2022

Thanks, created DOCS-3558 to review!

Copy link
Contributor

@maycmlee maycmlee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some suggestions!

Co-authored-by: May Lee <may.lee@datadoghq.com>
@keisku keisku requested a review from maycmlee May 25, 2022 22:16
@maycmlee maycmlee merged commit 53a87a3 into master May 26, 2022
@maycmlee maycmlee deleted the keisku/logrotation_config branch May 26, 2022 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent Content changed in the Agent folder editorial review Waiting on a more in-depth review Guide Content impacting a guide
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants