Skip to content

Commit 4aad46b

Browse files
committed
socks5: fix logger prefix
1 parent ad5e053 commit 4aad46b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ func run() int {
821821
return 0
822822
case proxyModeSOCKS5:
823823
opts := []socks5.Option{
824-
socks5.WithLogger(socks5.NewLogger(log.New(logWriter, "HTTPSRV : ", log.LstdFlags|log.Lshortfile))),
824+
socks5.WithLogger(socks5.NewLogger(log.New(logWriter, "SOCKSSRV: ", log.LstdFlags|log.Lshortfile))),
825825
socks5.WithRule(
826826
&socks5.PermitCommand{
827827
EnableConnect: true,

0 commit comments

Comments
 (0)