spring-cloud-deployer-kubernetes icon indicating copy to clipboard operation
spring-cloud-deployer-kubernetes copied to clipboard

Logs truncated to 500 lines

Open RafiGreenberg opened this issue 6 years ago • 3 comments

Description: Task execution logs show only the last 500 lines of log

Release versions: 2.2.2.RELEASE

Steps to reproduce:

  • Launch a task
  • View task execution logs

Screenshots:

image

RafiGreenberg avatar Dec 05 '19 18:12 RafiGreenberg

@mackoftrack I assume you are using K8s deployer. Currently, we hard code the tail lines of logs to 500 when showing the log of a Pod as in here. We'll enhance this with some configuration options in the upcoming releases.

ilayaperumalg avatar Dec 05 '19 18:12 ilayaperumalg

@ilayaperumalg Yes using k8s deployer. Thanks for explanation. This should definitely be configurable, or at least default to showing all logs perhaps? Why limit to 500 lines?

RafiGreenberg avatar Dec 05 '19 18:12 RafiGreenberg

We wanted to have a reasonable default for the initial implementation and hence 500 being the current default. Yes, we'll have the configuration options in the deployer implementations. I am moving this to K8s deployer to track it from there. Thanks for the inputs.

ilayaperumalg avatar Dec 05 '19 18:12 ilayaperumalg