添加日志记录到文件

This commit is contained in:
2024-10-08 20:29:52 +08:00
parent f18fdb9636
commit dd9b110adb
3 changed files with 77 additions and 26 deletions

View File

@@ -79,5 +79,5 @@ def start_service():
if __name__ == "__main__":
_log_fp=open("tcp_tran_server.log",mode="w+",encoding="utf-8")
_log_fp=open("proxy_server.log",mode="w+",encoding="utf-8")
start_service()