소스 검색

chore: remove unused logger import and debug statement in process_info.go

Akino 3 달 전
부모
커밋
785d1003d7
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      internal/nginx/process_info.go

+ 0 - 2
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++