From ef9a0a22c2ea7803a3321b20041ec8e3d712e110 Mon Sep 17 00:00:00 2001 From: dma Date: Thu, 14 Sep 2017 18:10:23 +0000 Subject: [PATCH] Make log more sublogmon friendly --- sgfw/socks_server_chain.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sgfw/socks_server_chain.go b/sgfw/socks_server_chain.go index ecf6e7f..38fd930 100644 --- a/sgfw/socks_server_chain.go +++ b/sgfw/socks_server_chain.go @@ -404,9 +404,9 @@ func (c *socksChainSession) forwardTraffic(tls bool) { if err != nil { if c.pinfo.Sandbox != "" { - log.Errorf("Dropping traffic from %s (sandbox: %s) to %s due to TLSGuard violation: %v", c.pinfo.ExePath, c.pinfo.Sandbox, c.req.Addr.addrStr, err) + log.Errorf("TLSGuard violation: Dropping traffic from %s (sandbox: %s) to %s: %v", c.pinfo.ExePath, c.pinfo.Sandbox, c.req.Addr.addrStr, err) } else { - log.Errorf("Dropping traffic from %s (unsandboxed) to %s due to TLSGuard violation: %v", c.pinfo.ExePath, c.req.Addr.addrStr, err) + log.Errorf("TLSGuard violation: Dropping traffic from %s (unsandboxed) to %s: %v", c.pinfo.ExePath, c.req.Addr.addrStr, err) } return } else {