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

Return the latest logs #417

Merged
merged 2 commits into from
Dec 19, 2023
Merged

Return the latest logs #417

merged 2 commits into from
Dec 19, 2023

Conversation

cppwfs
Copy link
Contributor

@cppwfs cppwfs commented Dec 15, 2023

The current log implementation returns the max limit of log envelopes from the start of the log. However if a log exceeds this maximum the rest of the log is trimmed off. In this case we retrieve the logs from the tail of the log to the maximum limit of log envelopes.

Also added missing tests for this class.

@cppwfs cppwfs requested review from onobc and corneil December 15, 2023 21:35
Copy link
Contributor

@onobc onobc left a comment

Choose a reason for hiding this comment

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

Great work @cppwfs . A few minor comments (mostly of the nit variety). Thanks.

@onobc onobc merged commit 6d44754 into spring-cloud:main Dec 19, 2023
4 checks passed
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.

3 participants