From 7c9afcd130b92394e1efd663c68016ddff6872e4 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Mon, 26 Jul 2021 11:23:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=8B=A5=E5=B9=B2=E6=96=87?= =?UTF-8?q?=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/nodes/api_node.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/nodes/api_node.go b/internal/nodes/api_node.go index 175d9987..e018b12f 100644 --- a/internal/nodes/api_node.go +++ b/internal/nodes/api_node.go @@ -506,12 +506,12 @@ func (this *APINode) listenSock() error { err := this.sock.Listen() if err != nil { - logs.Println("NODE", err.Error()) + logs.Println("API_NODE", err.Error()) } }() events.On(events.EventQuit, func() { - logs.Println("NODE", "quit unix sock") + logs.Println("API_NODE", "quit unix sock") _ = this.sock.Close() })