mirror of
https://github.com/snail007/goproxy.git
synced 2026-04-27 08:25:54 +03:00
[GH-ISSUE #366] --log 参数不能正确记录log文件 #277
Labels
No labels
TODO
bug
duplicate
enhancement
good first issue
help wanted
helpful
invalid
need-confirm
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/goproxy#277
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @chmis8000 on GitHub (May 1, 2020).
Original GitHub issue: https://github.com/snail007/goproxy/issues/366
Context (Environment)
Detailed Description
以上,如果本地的端口7792已经被占用,log文件只记录了:
2020/05/01 23:03:14 use tcp parent [123.207.xxx.xxx:3310]
而控制台输出了错误内容:
2020/05/01 23:09:21 err : run service [tcp:tcp] fail, ERR:tcp servcie fail, ERR:
listen tcp :7792: bind: Only one usage of each socket address (protocol/network
address/port) is normally permitted.
期望 只要指定log文件,将错误信息都写到log中