File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 11package commands
22
33import (
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 }
Original file line number Diff line number Diff line change @@ -16,11 +16,9 @@ import (
1616)
1717
1818const (
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
You can’t perform that action at this time.
0 commit comments