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

liuhan pushed a commit to branch parse-parallels
in repository https://gitbox.apache.org/repos/asf/skywalking-rover.git


The following commit(s) were added to refs/heads/parse-parallels by this push:
     new 69595ce  test debug log
69595ce is described below

commit 69595ce653631269ac1370e3c7350c7bb49d35e0
Author: mrproliu <[email protected]>
AuthorDate: Tue Dec 10 17:35:00 2024 +0800

    test debug log
---
 pkg/accesslog/collector/protocols/http1.go | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pkg/accesslog/collector/protocols/http1.go 
b/pkg/accesslog/collector/protocols/http1.go
index 92a8173..7101dba 100644
--- a/pkg/accesslog/collector/protocols/http1.go
+++ b/pkg/accesslog/collector/protocols/http1.go
@@ -161,7 +161,8 @@ func (p *HTTP1Protocol) HandleHTTPData(metrics 
*HTTP1Metrics, request *reader.Re
        detailEvents = AppendSocketDetailsFromBuffer(detailEvents, 
response.BodyBuffer())
 
        if len(detailEvents) == 0 {
-               http1Log.Warnf("cannot found any detail events for HTTP/1.x 
protocol, connection ID: %d, random ID: %d, data id: %d-%d",
+               // TODO temporary debug log, need to upgrade back to warn
+               http1Log.Debugf("cannot found any detail events for HTTP/1.x 
protocol, connection ID: %d, random ID: %d, data id: %d-%d",
                        metrics.ConnectionID, metrics.RandomID,
                        request.MinDataID(), 
response.BodyBuffer().LastSocketBuffer().DataID())
                return

Reply via email to