From 9bce7bedebc352b22f26ee3572ce3407b555b770 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 18 Apr 2024 18:13:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=92=8C=E5=AE=A2=E6=88=B7=E7=AB=AF=E8=BF=9E?= =?UTF-8?q?=E6=8E=A5=E6=A8=A1=E5=BC=8F=E7=9A=84=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/proto/proto.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/script/proto/proto.lua b/script/proto/proto.lua index 78400f976..5193fc9a0 100644 --- a/script/proto/proto.lua +++ b/script/proto/proto.lua @@ -231,6 +231,7 @@ end function m.listen(mode, socketPort) m.mode = mode if mode == 'stdio' then + log.info('Listen Mode: stdio') if platform.os == 'windows' then local windows = require 'bee.windows' windows.filemode(io.stdin, 'b') @@ -246,6 +247,10 @@ function m.listen(mode, socketPort) local server = net.listen('unix', unixPath) + log.info('Listen Mode: socket') + log.info('Listen Port:', socketPort) + log.info('Listen Path:', unixPath) + assert(server) local dummyClient = {