Skip to content

Commit c573cfa

Browse files
feat: remove log
1 parent bdce354 commit c573cfa

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

main.go

-7
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,6 @@ func main() {
9898
flag.StringVar(&host, "host", "", "1Panel host (example:http://127.0.0.1:9999)")
9999
flag.Parse()
100100

101-
logFile, err := setupLogger()
102-
if err != nil {
103-
fmt.Printf("setup logger error: %v\n", err)
104-
os.Exit(1)
105-
}
106-
defer logFile.Close()
107-
108101
if accessToken != "" {
109102
utils.SetAccessToken(accessToken)
110103
}

0 commit comments

Comments
 (0)