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

Log life spanner for file size #3940

Merged
merged 6 commits into from
Mar 31, 2022
Merged

Conversation

iulianpascalau
Copy link
Contributor

  • implemented log life spanner for file size

oneMegaByte = 1024 * 1024
minFileLifeSpan = time.Second
minSizeInMB = uint64(1)
maxSizeInMB = uint64(1024 * 1024) // 1TB
Copy link
Contributor

Choose a reason for hiding this comment

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

does it make sense to hold such a large value?
even if we hold it, it will be difficult to open it and analyze.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it was just a maximum allowed value. What value should I put there?

@bogdan-rosianu bogdan-rosianu self-requested a review March 28, 2022 09:30
Copy link
Collaborator

@gabi-vuls gabi-vuls left a comment

Choose a reason for hiding this comment

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

System test passed.

@gabi-vuls gabi-vuls merged commit 401439d into feat/release-2022-April Mar 31, 2022
@gabi-vuls gabi-vuls deleted the logger-file-splitter branch March 31, 2022 16:09
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.

None yet

4 participants