Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add configuration for agent log file size, rollover strategy and retention policy #1880

Closed
tippmar-nr opened this issue Aug 31, 2023 · 1 comment · Fixed by #2264
Closed

Comments

@tippmar-nr
Copy link
Member

Describe the story, please be clear on scope of the story.

File size limits and rollover strategy are currently hard-coded in the agent, at 50MB per file, with an unlimited number of files being retained.

Serilog supports an array of options for log file rolling, including by day or by size. We should add configuration settings to allow customers to tailor agent log file policies to their liking.

The Java agent already exposes a number of logging configuration options - we should consider using similar options.

Acceptance Criteria

Log file size, rollover strategy and retention policy should be configurable, with a reasonable set of default values.

Estimates

Please provide initial t-shirt size
S

@workato-integration
Copy link

tippmar-nr added a commit that referenced this issue Feb 26, 2024
feat: Add new configuration options for logging to control log file size, log retention and log rollover strategy. Refer to our [log configuration documentation](https://docs.newrelic.com/docs/apm/agents/net-agent/configuration/net-agent-configuration/#log) for details. (#1880) (#2264)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant