This is an automated email from the ASF dual-hosted git repository.

liuhan pushed a commit to branch reduce-handle-connect-time
in repository https://gitbox.apache.org/repos/asf/skywalking-rover.git


The following commit(s) were added to refs/heads/reduce-handle-connect-time by 
this push:
     new 63a5cf7  add test log
63a5cf7 is described below

commit 63a5cf7da16c1dea84eb4fa63a66f23c40fc398f
Author: mrproliu <[email protected]>
AuthorDate: Fri Dec 27 18:42:09 2024 +0800

    add test log
---
 pkg/accesslog/collector/connection.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pkg/accesslog/collector/connection.go 
b/pkg/accesslog/collector/connection.go
index c398098..e3b52e9 100644
--- a/pkg/accesslog/collector/connection.go
+++ b/pkg/accesslog/collector/connection.go
@@ -315,6 +315,8 @@ func (c *ConnectionPartitionContext) 
tryToUpdateSocketFromConntrack(event *event
                        return
                }
        }
+       connectionLogger.Infof("try to update the remote address from 
conntrack, connection ID: %d, randomID: %d, func: %s, remote: %s:%d",
+               event.ConID, event.RandomID, 
enums.SocketFunctionName(event.FuncName), socket.DestIP, socket.DestPort)
        if c.connTracker != nil {
                // if no contract and socket data is valid, then trying to get 
the remote address from the socket
                // to encase the remote address is not the real remote address

Reply via email to