Skip to content

Commit f174202

Browse files
committed
remove
1 parent ef5130e commit f174202

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

internal/commands/force_cleanup.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package commands
22

33
import (
4-
"fmt"
54
"os/exec"
65

76
"github.com/spf13/cobra"
@@ -38,7 +37,7 @@ Examples:
3837
killCmd.Run() // Ignore errors
3938

4039
ui.PrintStatus("success", "Force cleanup completed.")
41-
ui.PrintStatus("info", fmt.Sprintf("Run 'catops service start' to start fresh."))
40+
ui.PrintStatus("info", "Run 'catops service start' to start fresh.")
4241
ui.PrintSectionEnd()
4342
},
4443
}

internal/metrics/log_collector.go

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@ import (
1616
)
1717

1818
const (
19-
maxLogLines = 100 // Maximum log lines to collect per service (increased for AI analysis)
20-
logTimeout = 10 // Timeout in seconds for log collection (increased for thorough collection)
21-
maxLogLineLen = 2000 // Maximum length per log line (increased to capture full stack traces)
22-
errorLogLines = 50 // Priority lines for errors/warnings
23-
normalLogLines = 50 // Remaining lines for normal logs
19+
maxLogLines = 100 // Maximum log lines to collect per service (increased for AI analysis)
20+
logTimeout = 10 // Timeout in seconds for log collection (increased for thorough collection)
21+
maxLogLineLen = 2000 // Maximum length per log line (increased to capture full stack traces)
2422
)
2523

2624
// DockerContainer represents a running docker container

0 commit comments

Comments
 (0)