Skip to content

Commit

Permalink
changed duration to 5 mins and log level to trace
Browse files Browse the repository at this point in the history
  • Loading branch information
absolutelightning committed Jun 7, 2023
1 parent 091925b commit 9d72a26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions command/debug/debug.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const (

// debugDuration is the total duration that debug runs before being
// shut down
debugDuration = 2 * time.Minute
debugDuration = 5 * time.Minute

// debugDurationGrace is a period of time added to the specified
// duration to allow intervals to capture within that time
Expand Down Expand Up @@ -503,7 +503,7 @@ func (c *cmd) captureHeap(outputDir string) error {
}

func (c *cmd) captureLogs(ctx context.Context) error {
logCh, err := c.client.Agent().Monitor("DEBUG", ctx.Done(), nil)
logCh, err := c.client.Agent().Monitor("TRACE", ctx.Done(), nil)
if err != nil {
return err
}
Expand Down

0 comments on commit 9d72a26

Please sign in to comment.