Skip to content

Commit

Permalink
Tweak get container logs params
Browse files Browse the repository at this point in the history
  • Loading branch information
dkeysil committed Feb 9, 2024
1 parent 18242c9 commit ca74353
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion clients/docker/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ func (d *dockerClient) ListDigestReferences(ctx context.Context) (imgs []string,
}

const (
defaultAgentLogAvgMaxCharsPerLine = 1000
defaultAgentLogAvgMaxCharsPerLine = 200
)

// GetContainerLogs gets the container logs.
Expand Down
2 changes: 1 addition & 1 deletion services/components/lifecycle/bot_logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ca74353

Please sign in to comment.