spring-cloud / spring-cloud-deployer

The Spring Cloud Deployer project defines an SPI for deploying long lived applications and short lived tasks
162 stars 87 forks source link

Return the latest logs #417

Closed cppwfs closed 9 months ago

cppwfs commented 9 months ago

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.