From e13ea7a54f27a26e485fd60f3cf30c7a32b43d00 Mon Sep 17 00:00:00 2001 From: v2ray Date: Tue, 12 Jul 2016 00:12:35 +0200 Subject: [PATCH] refine log in vmess --- proxy/vmess/outbound/outbound.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/proxy/vmess/outbound/outbound.go b/proxy/vmess/outbound/outbound.go index a0c21eb3..b6b7cdc3 100644 --- a/proxy/vmess/outbound/outbound.go +++ b/proxy/vmess/outbound/outbound.go @@ -42,10 +42,10 @@ func (this *VMessOutboundHandler) Dispatch(target v2net.Destination, payload *al return nil }) if err != nil { - log.Error("Failed to find an available destination:", err) + log.Error("VMess|Outbound: Failed to find an available destination:", err) return err } - log.Info("VMessOut: Tunneling request to ", target, " via ", rec.Destination) + log.Info("VMess|Outbound: Tunneling request to ", target, " via ", rec.Destination) command := protocol.RequestCommandTCP if target.IsUDP() { @@ -125,7 +125,7 @@ func (this *VMessOutboundHandler) handleResponse(session *raw.ClientSession, con header, err := session.DecodeResponseHeader(reader) if err != nil { conn.SetReusable(false) - log.Warning("VMessOut: Failed to read response: ", err) + log.Warning("VMess|Outbound: Failed to read response: ", err) return } go this.handleCommand(dest, header.Command)