diff --git a/internal/nginx/process_info.go b/internal/nginx/process_info.go index 35c5f419..04aff025 100644 --- a/internal/nginx/process_info.go +++ b/internal/nginx/process_info.go @@ -8,7 +8,6 @@ import ( "time" "github.com/shirou/gopsutil/v4/process" - "github.com/uozi-tech/cosy/logger" ) type NginxProcessInfo struct { @@ -121,7 +120,6 @@ func GetNginxProcessInfo() (*NginxProcessInfo, error) { // Distinguish between worker processes, cache processes, and other processes if ppid == masterPID || strings.Contains(cmdline, "worker process") { - logger.Debug(cmdline) workerCount++ } else if strings.Contains(cmdline, "cache") { cacheCount++