mirror of https://github.com/hashicorp/consul
changed duration to 5 mins and log level to trace
parent
091925bcb7
commit
9d72a262f3
|
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue