Skip to content

Added daily log rotation with 7 days retention#511

Merged
tMaxx merged 5 commits intowttech:masterfrom
maciejmalycha:logrotate
Aug 6, 2020
Merged

Added daily log rotation with 7 days retention#511
tMaxx merged 5 commits intowttech:masterfrom
maciejmalycha:logrotate

Conversation

@maciejmalycha
Copy link
Copy Markdown
Contributor

Description

  • Logs are rotated daily
  • Rotated logs have date in the filename
  • Logs are compressed
  • Logs are removed after 7 days

Motivation and Context

Current short logs timespan of ~5 hours prevents effective logs collection and debugging of issues.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • I have reviewed (and updated if needed) the documentation regarding this change

I hereby agree to the terms of the AET Contributor License Agreement.

@maciejmalycha maciejmalycha requested a review from tkaik June 4, 2019 08:50
Copy link
Copy Markdown
Contributor

@tkaik tkaik left a comment

Choose a reason for hiding this comment

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

Please add entry in CHANGELOG.md file ("Unreleased" section) about this PR

@tMaxx tMaxx merged commit 62b3e3f into wttech:master Aug 6, 2020
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 this pull request may close these issues.

4 participants