diff --git a/clients/docker/client.go b/clients/docker/client.go index 1062bc26..373d8078 100644 --- a/clients/docker/client.go +++ b/clients/docker/client.go @@ -800,7 +800,7 @@ func (d *dockerClient) ListDigestReferences(ctx context.Context) (imgs []string, } const ( - defaultAgentLogAvgMaxCharsPerLine = 1000 + defaultAgentLogAvgMaxCharsPerLine = 200 ) // GetContainerLogs gets the container logs. diff --git a/services/components/lifecycle/bot_logger.go b/services/components/lifecycle/bot_logger.go index 870d147d..0263b5a2 100644 --- a/services/components/lifecycle/bot_logger.go +++ b/services/components/lifecycle/bot_logger.go @@ -50,7 +50,7 @@ func NewBotLogger( // adjust these better with auto-upgrade later const ( - defaultAgentLogTailLines = 300 + defaultAgentLogTailLines = 120 ) func (bl *botLogger) SendBotLogs(ctx context.Context, snapshotInterval time.Duration) error {